Added copies of Crypto.util.* tools in Bitcoin.Util namespace.
This commit is contained in:
parent
7715c41925
commit
734bd57a23
1 changed files with 6 additions and 0 deletions
|
@ -95,3 +95,9 @@ Bitcoin.Util = {
|
|||
return Crypto.RIPEMD160(Crypto.SHA256(data, {asBytes: true}), {asBytes: true});
|
||||
}
|
||||
};
|
||||
|
||||
for (var i in Crypto.util) {
|
||||
if (Crypto.util.hasOwnProperty(i)) {
|
||||
Bitcoin.Util[i] = Crypto.util[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue