Skip to content

Commit

Permalink
remove duplicate pretty log setting (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
minhd-vu committed Jun 21, 2023
1 parent b2287ac commit f96f208
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/rpcfuzz/rpcfuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ import (
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/rpc"
"github.com/maticnetwork/polygon-cli/rpctypes"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"github.com/xeipuuv/gojsonschema"
"math/big"
"os"
"regexp"
"strings"
"sync"
Expand Down Expand Up @@ -1384,9 +1382,6 @@ func shouldRunTest(t RPCTest) bool {
}

func init() {
zerolog.SetGlobalLevel(zerolog.TraceLevel)
log.Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr})

flagSet := RPCFuzzCmd.PersistentFlags()

testPrivateHexKey = flagSet.String("private-key", codeQualityPrivateKey, "The hex encoded private key that we'll use to sending transactions")
Expand Down

0 comments on commit f96f208

Please sign in to comment.