Added copies of Crypto.util.* tools in Bitcoin.Util namespace.
This commit is contained in:
parent
7715c41925
commit
734bd57a23
@ -95,3 +95,9 @@ Bitcoin.Util = {
|
|||||||
return Crypto.RIPEMD160(Crypto.SHA256(data, {asBytes: true}), {asBytes: true});
|
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…
Reference in New Issue
Block a user