remove redundant error check condition for tx manager
Danilo Pantani danpantani@gmail.com
Mon, 22 Feb 2021 13:54:10 -0300
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)