Skip to content

Commit af47416

Browse files
fix: fix wallet proofs class url (change wallet to wallets)
BTC-2404
1 parent f5eb754 commit af47416

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

modules/sdk-core/src/bitgo/proofs/WalletProofs.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ export class WalletProofs {
1717
async getLiabilityProofs(): Promise<UserVerificationElements> {
1818
const reqId = new RequestTracer();
1919
this.wallet.bitgo.setRequestTracer(reqId);
20-
2120
return (await this.wallet.bitgo
22-
.get(this.wallet.bitgo.url('/proofs-service/wallet/' + this.wallet.id() + '/liability-proofs'))
21+
.get(this.wallet.bitgo.url('/proofs-service/wallets/' + this.wallet.id() + '/liability-proofs'))
2322
.send()
2423
.result()) as UserVerificationElements;
2524
}
@@ -34,7 +33,7 @@ export class WalletProofs {
3433
this.wallet.bitgo.setRequestTracer(reqId);
3534

3635
return (await this.wallet.bitgo
37-
.get(this.wallet.bitgo.url('/proofs-service/wallet/' + this.wallet.id() + '/account-snapshot'))
36+
.get(this.wallet.bitgo.url('/proofs-service/wallets/' + this.wallet.id() + '/account-snapshot'))
3837
.send()
3938
.result()) as AccountSnapshot;
4039
}

0 commit comments

Comments
 (0)