integration: fix invalid use of network object
This commit is contained in:
parent
28dc390377
commit
2b563ec55a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ describe('Bitcoin-js', function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
// make a random private key
|
// 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
|
// get latest unspents from the multisigAddress
|
||||||
helloblock.addresses.getUnspents(multisigAddress, function(err, resp, resource) {
|
helloblock.addresses.getUnspents(multisigAddress, function(err, resp, resource) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue