1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

remove logging of the message and log the error

This commit is contained in:
frankiebee 2017-08-07 14:45:43 -04:00
parent a54c26382e
commit 59124eb6fd

View File

@ -103,7 +103,7 @@ module.exports = class PendingTransactionWatchers extends EventEmitter {
if (!sufficientBalance(txMeta.txParams, balance)) { if (!sufficientBalance(txMeta.txParams, balance)) {
const insufficientFundsError = new Error('Insufficient balance during rebroadcast.') const insufficientFundsError = new Error('Insufficient balance during rebroadcast.')
this.emit('txFailed', txMeta.id, insufficientFundsError) this.emit('txFailed', txMeta.id, insufficientFundsError)
log.error(message) log.error(insufficientFundsError)
return return
} }