Skip to content

Commit b414f52

Browse files
committed
chore: nits
Signed-off-by: Ji Hwan <[email protected]>
1 parent d77bfcb commit b414f52

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

cmd/fund/fund.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ func runFunding(ctx context.Context) error {
9090
log.Warn().
9191
Str("address", params.Multicall3Address).
9292
Msg("invalid multicall3 address provided, will try to detect or deploy multicall3")
93-
multicall3Addr = &addr
9493
}
9594
}
9695

util/multicall3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ func Multicall3FundAccountsWithERC20Token(ctx context.Context, c *ethclient.Clie
161161

162162
receipt, err := bind.WaitMined(ctx, c, approveTx.Hash())
163163
if err != nil || receipt == nil || receipt.Status != 1 {
164+
log.Error().Err(err).Msg("failed to mine approval transaction")
164165
return approveTx, nil, err
165166
}
166167

0 commit comments

Comments
 (0)