crypto: fix hash160 for browser.

This commit is contained in:
Christopher Jeffrey 2017-02-01 17:04:46 -08:00
parent 096d348791
commit 87f9d58d47
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -46,7 +46,7 @@ backend.sha256 = function _sha256(data) {
};
backend.hash160 = function hash160(data) {
return backend.hash('ripemd160', sha256.digest(hash));
return backend.hash('ripemd160', sha256.digest(data));
};
backend.hash256 = function hash256(data) {