improving UI and wording for signing page
This commit is contained in:
parent
5761554c39
commit
9779d5f6df
7 changed files with 28 additions and 27 deletions
|
|
@ -23,7 +23,8 @@ PrivateKey.prototype.getId = function(prefix) {
|
|||
if (prefix) {
|
||||
buf = Buffer.concat([prefix, buf]);
|
||||
}
|
||||
return util.ripe160(buf).toString('hex');
|
||||
var hash = util.sha256(buf).toString('hex');
|
||||
return hash.substring(0, hash.length/2);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue