Change rmd160 -> ripemd160 for Electron v4
Electron v4 only supports ripemd160; no support for the rmd160 alias.
This commit is contained in:
parent
02c1cdf1c2
commit
59d07962a4
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
const createHash = require('create-hash')
|
const createHash = require('create-hash')
|
||||||
|
|
||||||
function ripemd160 (buffer) {
|
function ripemd160 (buffer) {
|
||||||
return createHash('rmd160').update(buffer).digest()
|
return createHash('ripemd160').update(buffer).digest()
|
||||||
}
|
}
|
||||||
|
|
||||||
function sha1 (buffer) {
|
function sha1 (buffer) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue