Ivan Socolsky
9 years ago
No known key found for this signature in database
GPG Key ID: 10AD370F4F3056FB
1 changed files with
8 additions and
1 deletions
-
lib/server.js
|
|
@ -2179,8 +2179,15 @@ WalletService.prototype.signTx = function(opts, cb) { |
|
|
|
|
|
|
|
var copayer = wallet.getCopayer(self.copayerId); |
|
|
|
|
|
|
|
if (!txp.sign(self.copayerId, opts.signatures, copayer.xPubKey)) |
|
|
|
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)); |
|
|
|
return cb(Errors.BAD_SIGNATURES); |
|
|
|
} |
|
|
|
|
|
|
|
self.storage.storeTx(self.walletId, txp, function(err) { |
|
|
|
if (err) return cb(err); |
|
|
|