Skip to content

Commit

Permalink
testutil/network: fix build
Browse files Browse the repository at this point in the history
* Tendermint's `DefaultLogLevel` is now a string.
  • Loading branch information
boz committed Feb 18, 2021
1 parent 37b7221 commit 434ba78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutil/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func New(t *testing.T, cfg Config) *Network {
logger := log.NewNopLogger()
if cfg.EnableLogging {
logger = log.NewTMLogger(log.NewSyncWriter(os.Stdout))
logger, _ = tmflags.ParseLogLevel("info", logger, tmcfg.DefaultLogLevel())
logger, _ = tmflags.ParseLogLevel("info", logger, tmcfg.DefaultLogLevel)
}

ctx.Logger = logger
Expand Down

0 comments on commit 434ba78

Please sign in to comment.