rebase
This commit is contained in:
parent
c3722fc219
commit
de21e086a9
|
@ -26,11 +26,11 @@ describe('TXProposal', function() {
|
||||||
var txp = TXP.fromObj(aTXP());
|
var txp = TXP.fromObj(aTXP());
|
||||||
|
|
||||||
txp.outputOrder = [0, 1];
|
txp.outputOrder = [0, 1];
|
||||||
var t = txp._getBitcoreTx();
|
var t = txp.getBitcoreTx();
|
||||||
t.getChangeOutput().should.deep.equal(t.outputs[1]);
|
t.getChangeOutput().should.deep.equal(t.outputs[1]);
|
||||||
|
|
||||||
txp.outputOrder = [1, 0];
|
txp.outputOrder = [1, 0];
|
||||||
var t = txp._getBitcoreTx();
|
var t = txp.getBitcoreTx();
|
||||||
t.getChangeOutput().should.deep.equal(t.outputs[0]);
|
t.getChangeOutput().should.deep.equal(t.outputs[0]);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue