implement BITS + tests
This commit is contained in:
parent
ec859355c6
commit
727bf8524a
14 changed files with 213 additions and 79 deletions
|
|
@ -14,7 +14,7 @@ FakeBlockchain.prototype.getTransactions = function(addresses, cb) {
|
|||
|
||||
FakeBlockchain.prototype.fixUnspent = function(u) {
|
||||
this.u = u;
|
||||
}
|
||||
};
|
||||
|
||||
FakeBlockchain.prototype.getUnspent = function(addresses, cb) {
|
||||
if (!addresses || !addresses.length) return cb(null, []);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue