Browse Source

add raw tx to log

activeAddress
Ivan Socolsky 9 years ago
parent
commit
c1e9a8a66e
No known key found for this signature in database GPG Key ID: 10AD370F4F3056FB
  1. 12
      lib/server.js

12
lib/server.js

@ -2181,11 +2181,13 @@ WalletService.prototype.signTx = function(opts, cb) {
if (!txp.sign(self.copayerId, opts.signatures, copayer.xPubKey)) {
log.warn('Error signing transaction (BAD_SIGNATURES)');
log.warn('Wallet id: ', self.walletId);
log.warn('Copayer id: ', self.copayerId);
log.warn('Client version: ', self.clientVersion);
log.warn('Arguments: ', JSON.stringify(opts));
log.warn('Transaction proposal: ', JSON.stringify(txp));
log.warn('Wallet id:', self.walletId);
log.warn('Copayer id:', self.copayerId);
log.warn('Client version:', self.clientVersion);
log.warn('Arguments:', JSON.stringify(opts));
log.warn('Transaction proposal:', JSON.stringify(txp));
var raw = txp.getBitcoreTx().uncheckedSerialize();
log.warn('Raw tx:', raw);
return cb(Errors.BAD_SIGNATURES);
}

Loading…
Cancel
Save