test: pass network to integtest TransactionBuilder init
This commit is contained in:
parent
649c4d79f9
commit
cdce4b6189
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ describe('bitcoinjs-lib (multisig)', function () {
|
||||||
network: bitcoin.networks.testnet
|
network: bitcoin.networks.testnet
|
||||||
}).getAddress()
|
}).getAddress()
|
||||||
|
|
||||||
var txb = new bitcoin.TransactionBuilder()
|
var txb = new bitcoin.TransactionBuilder(bitcoin.networks.testnet)
|
||||||
txb.addInput(unspent.txId, unspent.vout)
|
txb.addInput(unspent.txId, unspent.vout)
|
||||||
txb.addOutput(targetAddress, 1e4)
|
txb.addOutput(targetAddress, 1e4)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue