Skip to content

Commit 49ad28c

Browse files
committed
Resubmission failed message changed from error to warning
It is possible the resubmission failed because the transaction has just been mined. It's not worth logging it as an ERROR especially that the first transaction was submitted (and that's always the case before we get to mining monitoring).
1 parent ac57152 commit 49ad28c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/chain/ethereum/ethutil/mine_waiter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ func (mw MiningWaiter) ForceMining(
127127
)
128128
transaction, err = resubmitFn(gasPrice)
129129
if err != nil {
130-
logger.Errorf("failed resubmitting TX with a higher gas price: [%v]", err)
130+
logger.Warningf("could not resubmit TX with a higher gas price: [%v]", err)
131131
return
132132
}
133133
}

0 commit comments

Comments
 (0)