remove crypto hash transition code
This commit is contained in:
parent
c17c6f9291
commit
f545ed1279
3 changed files with 2 additions and 9 deletions
src
|
@ -184,7 +184,7 @@ function isSmallIntOp(opcode) {
|
|||
}
|
||||
|
||||
Script.prototype.getHash = function() {
|
||||
return crypto.hash160(this.buffer)
|
||||
return crypto.hash160(new Buffer(this.buffer))
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue