Removed direct references to Bitcoin
This commit is contained in:
parent
a753f069a5
commit
038f8d5d99
6 changed files with 28 additions and 22 deletions
src
|
@ -329,7 +329,7 @@ Wallet.prototype.clearTransactions = function () {
|
|||
* Check to see if a pubKeyHash belongs to this wallet.
|
||||
*/
|
||||
Wallet.prototype.hasHash = function (hash) {
|
||||
if (Bitcoin.Util.isArray(hash)) hash = conv.bytesToHex(hash);
|
||||
if (util.isArray(hash)) hash = conv.bytesToHex(hash);
|
||||
|
||||
// TODO: Just create an object with hashes as keys for faster lookup
|
||||
for (var k = 0; k < this.addressHashes.length; k++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue