|
@ -1267,7 +1267,6 @@ describe('Copay server', function() { |
|
|
server.createTx(txOpts, function(err, txp) { |
|
|
server.createTx(txOpts, function(err, txp) { |
|
|
should.not.exist(err); |
|
|
should.not.exist(err); |
|
|
should.exist(txp); |
|
|
should.exist(txp); |
|
|
helpers.stubBroadcastFail(); |
|
|
|
|
|
var signatures = helpers.clientSign(txp, TestData.copayers[0].xPrivKey); |
|
|
var signatures = helpers.clientSign(txp, TestData.copayers[0].xPrivKey); |
|
|
server.signTx({ |
|
|
server.signTx({ |
|
|
txProposalId: txp.id, |
|
|
txProposalId: txp.id, |
|
@ -1276,6 +1275,7 @@ describe('Copay server', function() { |
|
|
should.not.exist(err); |
|
|
should.not.exist(err); |
|
|
should.exist(txp); |
|
|
should.exist(txp); |
|
|
txp.isAccepted().should.be.true; |
|
|
txp.isAccepted().should.be.true; |
|
|
|
|
|
txp.isBroadcasted().should.be.false; |
|
|
txpid = txp.id; |
|
|
txpid = txp.id; |
|
|
done(); |
|
|
done(); |
|
|
}); |
|
|
}); |
|
|