test passing with new TxProposal checks
This commit is contained in:
parent
32f281fb82
commit
ae94139236
5 changed files with 24 additions and 28 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -34,10 +34,10 @@ function FakeBuilder() {
|
|||
|
||||
this.vanilla = {
|
||||
scriptSig: [VALID_SCRIPTSIG_BUF],
|
||||
outs: [{
|
||||
outs: JSON.stringify([{
|
||||
address: '2NDJbzwzsmRgD2o5HHXPhuq5g6tkKTjYkd6',
|
||||
amountSatStr: '123',
|
||||
}]
|
||||
}]),
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue