From 35ea597ac4a90d6f6a9aedaf11e5ff29a2400b8a Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Mon, 22 Feb 2021 13:54:10 -0300 Subject: [PATCH] remove redundant error check condition for tx manager --- coordinator/txmanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coordinator/txmanager.go b/coordinator/txmanager.go index ad05962..674d717 100644 --- a/coordinator/txmanager.go +++ b/coordinator/txmanager.go @@ -231,7 +231,7 @@ func (t *TxManager) sendRollupForgeBatch(ctx context.Context, batchInfo *BatchIn "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)