Skip to content

Commit

Permalink
faucet: fix the terminal format
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzckck committed Aug 29, 2024
1 parent f7ac1a2 commit b56fb51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/faucet/faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ func weiToEtherStringF2(wei *big.Int) string {
func main() {
// Parse the flags and set up the logger to print everything requested
flag.Parse()
log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stderr, log.FromLegacyLevel(*logFlag), true)))

log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stderr, log.FromLegacyLevel(*logFlag), false)))
log.Info("faucet started")
// Construct the payout tiers
amounts := make([]string, *tiersFlag)
for i := 0; i < *tiersFlag; i++ {
Expand Down

0 comments on commit b56fb51

Please sign in to comment.