test passing with new TxProposal checks

This commit is contained in:
Matias Alejo Garcia 2014-11-22 12:38:53 -03:00
commit ae94139236
5 changed files with 24 additions and 28 deletions

View file

@ -137,11 +137,7 @@ describe('PayPro (in Wallet) model', function() {
var w = cachedCreateW2();
unspentTest[0].address = w.publicKeyRing.getAddress(1, true, w.publicKey).toString();
unspentTest[0].scriptPubKey = w.publicKeyRing.getScriptPubKeyHex(1, true, w.publicKey);
w.getUnspent = function(cb) {
return setTimeout(function() {
return cb(null, unspentTest, unspentTest);
}, 1);
};
w.getUnspent = sinon.stub().yields(null, unspentTest, unspentTest);
return w;
};