Skip to content

Commit 844c222

Browse files
OttoAllmendingerewangbitgo
authored andcommitted
use t.partial instead of t.type
1 parent b433fc0 commit 844c222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/sdk-core/src/bitgo/wallet/wallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3644,7 +3644,7 @@ export class Wallet implements IWallet {
36443644
return postWithCodec(
36453645
this.bitgo,
36463646
this.baseCoin.url('/wallet/' + this.id() + '/tx/send'),
3647-
t.intersection([TxSendBody, t.type({ locktime: t.number })]),
3647+
t.intersection([TxSendBody, t.partial({ locktime: t.number })]),
36483648
whitelistedParams
36493649
).result();
36503650
}

0 commit comments

Comments
 (0)