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

remove unnecessary log

This commit is contained in:
frankiebee 2017-06-14 21:52:49 -07:00
parent da33efe775
commit 07539a63e4

View File

@ -429,10 +429,7 @@ module.exports = class TransactionController extends EventEmitter {
return cb()
}
if (txMeta.retryCount > RETRY_LIMIT) {
const message = 'Gave up submitting tx ' + txMeta.hash
return log.warning(message)
}
if (txMeta.retryCount > RETRY_LIMIT) return
txMeta.retryCount++
const rawTx = txMeta.rawTx