|
@ -24,7 +24,7 @@ client.getTxProposals({}, function(err, txps) { |
|
|
var txp = utils.findOneTxProposal(txps, txpid); |
|
|
var txp = utils.findOneTxProposal(txps, txpid); |
|
|
client.rejectTxProposal(txp, reason, function(err, tx) { |
|
|
client.rejectTxProposal(txp, reason, function(err, tx) { |
|
|
utils.die(err); |
|
|
utils.die(err); |
|
|
if (x.status == 'rejected') |
|
|
if (tx.status == 'rejected') |
|
|
console.log('Transaction finally rejected.'); |
|
|
console.log('Transaction finally rejected.'); |
|
|
else |
|
|
else |
|
|
console.log('Transaction rejected by you.'); |
|
|
console.log('Transaction rejected by you.'); |
|
|