Skip to content

Commit

Permalink
update default (#9235)
Browse files Browse the repository at this point in the history
Co-authored-by: samricotta <37125168+samricotta@users.noreply.github.com>
  • Loading branch information
tnasu and samricotta committed Jul 19, 2023
1 parent 2a7bd8a commit 390f512
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ func createEvidenceReactor(config *cfg.Config, dbProvider DBProvider,
}
evidenceLogger := logger.With("module", "evidence")
evidencePool, err := evidence.NewPool(evidenceDB, sm.NewStore(stateDB, sm.StoreOptions{
DiscardABCIResponses: false,
DiscardABCIResponses: config.RPC.DiscardABCIResponses,
}), blockStore)
if err != nil {
return nil, nil, err
Expand Down Expand Up @@ -762,7 +762,7 @@ func NewNode(config *cfg.Config,
}

stateStore := sm.NewStore(stateDB, sm.StoreOptions{
DiscardABCIResponses: false,
DiscardABCIResponses: config.RPC.DiscardABCIResponses,
})

state, genDoc, err := LoadStateFromDBOrGenesisDocProvider(stateDB, genesisDocProvider)
Expand Down

0 comments on commit 390f512

Please sign in to comment.