mirror of https://github.com/BTCPrivate/copay.git
paypro: fix tests for unspent outputs.
This commit is contained in:
parent
ea7948f420
commit
9aee71e8fd
|
@ -139,7 +139,7 @@ describe('PayPro (in Wallet) model', function() {
|
|||
unspentTest[0].scriptPubKey = w.publicKeyRing.getScriptPubKeyHex(1, true, w.publicKey);
|
||||
w.getUnspent = function(cb) {
|
||||
return setTimeout(function() {
|
||||
return cb(null, unspentTest, []);
|
||||
return cb(null, unspentTest, unspentTest);
|
||||
}, 1);
|
||||
};
|
||||
return w;
|
||||
|
|
Loading…
Reference in New Issue