paypro: fix tests for unspent outputs.

This commit is contained in:
Christopher Jeffrey 2014-08-13 21:10:55 -04:00 committed by Manuel Araoz
parent ea7948f420
commit 9aee71e8fd
1 changed files with 1 additions and 1 deletions

View File

@ -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;