Skip to content

Commit

Permalink
use tempdir
Browse files Browse the repository at this point in the history
  • Loading branch information
lacsomot committed Oct 23, 2024
1 parent 09e9116 commit a081554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/realio-networkd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
tempDir := tempDir()
initAppOptions.Set(flags.FlagHome, tempDir)
// opt := baseapp.SetChainID(types.MainnetChainID)
tempApp := app.New(log.NewNopLogger(), dbm.NewMemDB(), nil, true, map[int64]bool{}, "test", 5, app.MakeEncodingConfig(), initAppOptions)
tempApp := app.New(log.NewNopLogger(), dbm.NewMemDB(), nil, true, map[int64]bool{}, tempDir, 5, app.MakeEncodingConfig(), initAppOptions)
encodingConfig := app.MakeEncodingConfig()
initClientCtx := client.Context{}.
WithCodec(encodingConfig.Codec).
Expand Down

0 comments on commit a081554

Please sign in to comment.