From 2b563ec55ae30837b99dd3a7e25268a83879da59 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Thu, 5 Jun 2014 00:06:07 +1000 Subject: [PATCH] integration: fix invalid use of network object --- test/integration/p2sh.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/p2sh.js b/test/integration/p2sh.js index f351d62..24df76e 100644 --- a/test/integration/p2sh.js +++ b/test/integration/p2sh.js @@ -38,7 +38,7 @@ describe('Bitcoin-js', function() { }) // make a random private key - var targetAddress = ECKey.makeRandom().pub.getAddress(networks.testnet.pubKeyHash).toString() + var targetAddress = ECKey.makeRandom().pub.getAddress(networks.testnet).toString() // get latest unspents from the multisigAddress helloblock.addresses.getUnspents(multisigAddress, function(err, resp, resource) {