Change rmd160 -> ripemd160 for Electron v4

Electron v4 only supports ripemd160; no support for the rmd160 alias.
This commit is contained in:
Ryan Zimmerman 2019-04-01 13:52:24 -04:00 committed by GitHub
parent 02c1cdf1c2
commit 59d07962a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
const createHash = require('create-hash')
function ripemd160 (buffer) {
return createHash('rmd160').update(buffer).digest()
return createHash('ripemd160').update(buffer).digest()
}
function sha1 (buffer) {