Assert uses strictEqual instead of direct comparison

This commit is contained in:
Daniel Cousens 2014-04-20 04:38:57 +10:00
parent 1d1306b054
commit f3a55f63dc

View file

@ -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)