Merge pull request #567 from hermeznetwork/fix/tx-manager-redundant-condition tx manager: remove redundant error check
arnau 17317030+arnaucube@users.noreply.github.com
Tue, 23 Feb 2021 16:10:38 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
coordinator/txmanager.go
→
coordinator/txmanager.go
@@ -231,7 +231,7 @@ log.Warnw("TxManager ethClient.RollupForgeBatch incrementing gasPrice",
"err", err, "gasPrice", auth.GasPrice, "batchNum", batchInfo.BatchNum) auth.GasPrice = addPerc(auth.GasPrice, 10) attempt-- - } else if err != nil { + } else { log.Errorw("TxManager ethClient.RollupForgeBatch", "attempt", attempt, "err", err, "block", t.stats.Eth.LastBlock.Num+1, "batchNum", batchInfo.BatchNum)