mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-03 19:53:58 +00:00
* cmd: add integration test and fix bug in rollback command (#7315)
(cherry picked from commit bca2080c01)
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
This commit is contained in:
@@ -68,6 +68,8 @@ type Store interface {
|
||||
Bootstrap(State) error
|
||||
// PruneStates takes the height from which to start prning and which height stop at
|
||||
PruneStates(int64, int64) error
|
||||
// Close closes the connection with the database
|
||||
Close() error
|
||||
}
|
||||
|
||||
// dbStore wraps a db (github.com/tendermint/tm-db)
|
||||
@@ -593,3 +595,7 @@ func (store dbStore) saveConsensusParamsInfo(nextHeight, changeHeight int64, par
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (store dbStore) Close() error {
|
||||
return store.db.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user