exchange uses payto_uri instead of url now
This commit is contained in:
parent
af57a404d0
commit
fd5f3977bb
@ -328,7 +328,7 @@ async function updateExchangeWithWireInfo(
|
|||||||
for (const a of wireInfo.accounts) {
|
for (const a of wireInfo.accounts) {
|
||||||
console.log("validating exchange acct");
|
console.log("validating exchange acct");
|
||||||
const isValid = await ws.cryptoApi.isValidWireAccount(
|
const isValid = await ws.cryptoApi.isValidWireAccount(
|
||||||
a.url,
|
a.payto_uri,
|
||||||
a.master_sig,
|
a.master_sig,
|
||||||
details.masterPublicKey,
|
details.masterPublicKey,
|
||||||
);
|
);
|
||||||
|
@ -654,7 +654,7 @@ export class WireFeesJson {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class AccountInfo {
|
export class AccountInfo {
|
||||||
url: string;
|
payto_uri: string;
|
||||||
master_sig: string;
|
master_sig: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -886,7 +886,7 @@ export const codecForWireFeesJson = () =>
|
|||||||
export const codecForAccountInfo = () =>
|
export const codecForAccountInfo = () =>
|
||||||
typecheckedCodec<AccountInfo>(
|
typecheckedCodec<AccountInfo>(
|
||||||
makeCodecForObject<AccountInfo>()
|
makeCodecForObject<AccountInfo>()
|
||||||
.property("url", codecForString)
|
.property("payto_uri", codecForString)
|
||||||
.property("master_sig", codecForString)
|
.property("master_sig", codecForString)
|
||||||
.build("AccountInfo"),
|
.build("AccountInfo"),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user