Skip to content

Commit

Permalink
all: add better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Oct 25, 2024
1 parent 9e3ccb4 commit 3a117fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spammer/addresslist.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3a117fb

Please sign in to comment.