Skip to content

Commit

Permalink
fix: stop saving snapshot files to wrong directory during tests (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-forbes authored Jan 18, 2023
1 parent 1b41f1c commit 308ee00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testutil/testnode/full_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/celestiaorg/celestia-app/app/encoding"
"github.com/celestiaorg/celestia-app/cmd/celestia-appd/cmd"
"github.com/celestiaorg/celestia-app/testutil/testfactory"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
pruningtypes "github.com/cosmos/cosmos-sdk/pruning/types"
"github.com/cosmos/cosmos-sdk/server"
Expand Down Expand Up @@ -91,6 +92,7 @@ func New(
appOpts := appOptions{
options: map[string]interface{}{
server.FlagPruning: pruningtypes.PruningOptionNothing,
flags.FlagHome: baseDir,
},
}

Expand Down

0 comments on commit 308ee00

Please sign in to comment.