From 307b7f036ad4e32493bccacc6260916dd7938a43 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 28 Jul 2015 17:18:13 +1000 Subject: [PATCH] integration: pass network through to fromWIF --- test/integration/multisig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/multisig.js b/test/integration/multisig.js index 7de1aa0..ffc02be 100644 --- a/test/integration/multisig.js +++ b/test/integration/multisig.js @@ -32,7 +32,7 @@ describe('bitcoinjs-lib (multisig)', function () { '91avARGdfge8E4tZfYLoxeJ5sGBdNJQH4kvjJoQFacbgww7vXtT', '91avARGdfge8E4tZfYLoxeJ5sGBdNJQH4kvjJoQFacbgx3cTMqe', '91avARGdfge8E4tZfYLoxeJ5sGBdNJQH4kvjJoQFacbgx9rcrL7' - ].map(bitcoin.ECPair.fromWIF) + ].map(function (wif) { return bitcoin.ECPair.fromWIF(wif, bitcoin.networks.testnet) }) var pubKeys = keyPairs.map(function (x) { return x.getPublicKeyBuffer() }) var redeemScript = bitcoin.scripts.multisigOutput(2, pubKeys) // 2 of 4