Skip to content

Commit

Permalink
fix fund logging
Browse files Browse the repository at this point in the history
  • Loading branch information
minhd-vu committed Nov 22, 2023
1 parent b595615 commit 17d8879
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/fund/fund.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import (
"github.com/chenzhijie/go-web3"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)
Expand Down Expand Up @@ -303,9 +302,6 @@ func runFunding(cmd *cobra.Command) error {
}

func init() {
// Configure zerolog to output to os.Stdout
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stdout})

FundCmd.Flags().IntVar(&walletCount, "wallet-count", 2, "Number of wallets to fund")
FundCmd.Flags().StringVar(&fundingWalletPK, "funding-wallet-pk", "", "Corresponding private key for funding wallet address, ensure you remove leading 0x")
FundCmd.Flags().StringVar(&chainRPC, "rpc-url", "http://localhost:8545", "The RPC endpoint url")
Expand Down

0 comments on commit 17d8879

Please sign in to comment.