|
|
@ -891,9 +891,8 @@ WalletService.prototype.removePendingTx = function(opts, cb) { |
|
|
|
if (deleteLockTime > 0) { |
|
|
|
return cb(new ClientError('TXCANNOTREMOVE', 'Cannot remove this tx proposal during locktime. Time remaining:' + deleteLockTime)); |
|
|
|
} |
|
|
|
|
|
|
|
self._notify('TxProposalRemoved', {}, function() { |
|
|
|
self.storage.removeTx(self.walletId, txp.id, cb); |
|
|
|
self.storage.removeTx(self.walletId, txp.id, function() { |
|
|
|
self._notify('TxProposalRemoved', {}, cb); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|