Skip to content

Commit 087e4e0

Browse files
authored
add log (#15)
1 parent 8505f60 commit 087e4e0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ethtxmanager/ethtxmanager.go

+1
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ func (c *Client) Add(ctx context.Context, to *common.Address, forcedNonce *uint6
164164
if err != nil {
165165
err := fmt.Errorf("failed to estimate gas: %w, data: %v", err, common.Bytes2Hex(data))
166166
log.Error(err.Error())
167+
log.Debugf("failed to estimate gas for tx: from: %v, to: %v, value: %v", from.String(), to.String(), value.String())
167168
if c.cfg.ForcedGas > 0 {
168169
gas = c.cfg.ForcedGas
169170
} else {

0 commit comments

Comments
 (0)