Browse Source

Assert uses strictEqual instead of direct comparison

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
f3a55f63dc
  1. 2
      src/script.js

2
src/script.js

@ -381,7 +381,7 @@ Script.createOutputScript = function(address, network) {
return script
}
assert(address.version === network.pubKeyHash)
assert.strictEqual(address.version, network.pubKeyHash, 'Unknown address type')
// Standard pay-to-pubkey-hash
script.writeOp(Opcode.map.OP_DUP)

Loading…
Cancel
Save