test: pass network to integtest TransactionBuilder init

This commit is contained in:
Wei Lu 2015-08-02 11:48:01 +08:00 committed by Daniel Cousens
parent 649c4d79f9
commit cdce4b6189

View file

@ -60,7 +60,7 @@ describe('bitcoinjs-lib (multisig)', function () {
network: bitcoin.networks.testnet
}).getAddress()
var txb = new bitcoin.TransactionBuilder()
var txb = new bitcoin.TransactionBuilder(bitcoin.networks.testnet)
txb.addInput(unspent.txId, unspent.vout)
txb.addOutput(targetAddress, 1e4)