paypro: fix tests for unspent outputs.
This commit is contained in:
parent
ea7948f420
commit
9aee71e8fd
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ describe('PayPro (in Wallet) model', function() {
|
||||||
unspentTest[0].scriptPubKey = w.publicKeyRing.getScriptPubKeyHex(1, true, w.publicKey);
|
unspentTest[0].scriptPubKey = w.publicKeyRing.getScriptPubKeyHex(1, true, w.publicKey);
|
||||||
w.getUnspent = function(cb) {
|
w.getUnspent = function(cb) {
|
||||||
return setTimeout(function() {
|
return setTimeout(function() {
|
||||||
return cb(null, unspentTest, []);
|
return cb(null, unspentTest, unspentTest);
|
||||||
}, 1);
|
}, 1);
|
||||||
};
|
};
|
||||||
return w;
|
return w;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue