Commit 28c35962 authored by Sebastian Stammler's avatar Sebastian Stammler Committed by GitHub

op-service/txmgr: Fix tx logging (#8875)

Forgot to expand the variadic parameter...
parent 5dcab86f
...@@ -149,7 +149,7 @@ func (m *SimpleTxManager) txLogger(tx *types.Transaction, logGas bool) log.Logge ...@@ -149,7 +149,7 @@ func (m *SimpleTxManager) txLogger(tx *types.Transaction, logGas bool) log.Logge
if logGas { if logGas {
fields = append(fields, "gasTipCap", tx.GasTipCap(), "gasFeeCap", tx.GasFeeCap(), "gasLimit", tx.Gas()) fields = append(fields, "gasTipCap", tx.GasTipCap(), "gasFeeCap", tx.GasFeeCap(), "gasLimit", tx.Gas())
} }
return m.l.New(fields) return m.l.New(fields...)
} }
// TxCandidate is a transaction candidate that can be submitted to ask the // TxCandidate is a transaction candidate that can be submitted to ask the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment