From 3a117fb2d957be1b33b753128b1bd5a06b38b270 Mon Sep 17 00:00:00 2001 From: Marius van der Wijden Date: Fri, 25 Oct 2024 11:22:32 +0200 Subject: [PATCH] all: add better logging --- spammer/addresslist.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spammer/addresslist.go b/spammer/addresslist.go index 0e573bf..a9dd2ec 100644 --- a/spammer/addresslist.go +++ b/spammer/addresslist.go @@ -12,7 +12,6 @@ import ( "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/crypto" "github.com/ethereum/go-ethereum/ethclient" - "github.com/ethereum/go-ethereum/log" ) var ( @@ -171,7 +170,7 @@ func Airdrop(config *Config, value *big.Int) error { Data: nil, }) if err != nil { - log.Error("error estimating gas: %v", err) + fmt.Printf("error estimating gas: %v\n", err) return err } tx2 := types.NewTransaction(nonce, to, value, gas, gp, nil)