network: always use lowercase
This commit is contained in:
parent
b68b1d5da4
commit
553ade1208
8 changed files with 26 additions and 26 deletions
test
|
@ -100,7 +100,7 @@ describe('Scripts', function() {
|
|||
var redeemScript = scripts.multisigOutput(2, pubKeys)
|
||||
|
||||
var hash160 = crypto.hash160(new Buffer(redeemScript.buffer))
|
||||
var multisigAddress = new Address(hash160, networks.bitcoin.scriptHash)
|
||||
var multisigAddress = new Address(hash160, networks.bitcoin.scripthash)
|
||||
|
||||
assert.equal(multisigAddress.toString(), '32vYjxBb7pHJJyXgNk8UoK3BdRDxBzny2v')
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue