fix for hash160 in integration test
This commit is contained in:
parent
f545ed1279
commit
4e3cb6762b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ describe('p2sh', function() {
|
|||
return eck.pub
|
||||
})
|
||||
var redeemScript = Script.createMultisigScriptPubKey(2, pubKeys)
|
||||
var hash160 = crypto.hash160(redeemScript.buffer)
|
||||
var hash160 = crypto.hash160(new Buffer(redeemScript.buffer))
|
||||
var multisigAddress = new Address(hash160, networks.testnet.scriptHash)
|
||||
|
||||
// Check what our target address's starting value is
|
||||
|
|
Loading…
Add table
Reference in a new issue