arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
remove redundant error check condition for tx manager
Danilo Pantani danpantani@gmail.com
Mon, 22 Feb 2021 13:54:10 -0300
commit

35ea597ac4a90d6f6a9aedaf11e5ff29a2400b8a

parent

df0cc32eed0fcad9fe6c744efb8169476ff16334

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)