Skip to content

Commit b433fc0

Browse files
OttoAllmendingerewangbitgo
authored andcommitted
fix: allow locktime as build param
1 parent 33f3b10 commit b433fc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
22
* @prettier
33
*/
4+
import * as t from 'io-ts';
45
import assert from 'assert';
56
import { BigNumber } from 'bignumber.js';
67
import * as _ from 'lodash';
@@ -3643,7 +3644,7 @@ export class Wallet implements IWallet {
36433644
return postWithCodec(
36443645
this.bitgo,
36453646
this.baseCoin.url('/wallet/' + this.id() + '/tx/send'),
3646-
TxSendBody,
3647+
t.intersection([TxSendBody, t.type({ locktime: t.number })]),
36473648
whitelistedParams
36483649
).result();
36493650
}

0 commit comments

Comments
 (0)