Added sign with keys method to transaction and did lots of small cleanups
This commit is contained in:
parent
917822541c
commit
f53a4e3ffa
5 changed files with 109 additions and 94 deletions
src
|
@ -114,5 +114,8 @@ module.exports = {
|
|||
*/
|
||||
sha256ripe160: function (data) {
|
||||
return Crypto.RIPEMD160(Crypto.SHA256(data, {asBytes: true}), {asBytes: true});
|
||||
},
|
||||
error: function(msg) {
|
||||
throw new Error(msg);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue