chore: gofumpt (#11839)
* fumpt using main not master... * be more descriptive * fumpt * fix nits Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Julien Robert
parent
bc2d553f77
commit
55054282d2
@@ -202,7 +202,7 @@ func (rs *Store) loadVersion(ver int64, upgrades *types.StoreUpgrades) error {
|
||||
}
|
||||
|
||||
// load each Store (note this doesn't panic on unmounted keys now)
|
||||
var newStores = make(map[types.StoreKey]types.CommitKVStore)
|
||||
newStores := make(map[types.StoreKey]types.CommitKVStore)
|
||||
|
||||
storesKeys := make([]types.StoreKey, 0, len(rs.storesParams))
|
||||
|
||||
@@ -405,7 +405,6 @@ func (rs *Store) Commit() types.CommitID {
|
||||
// This case means that no commit has been made in the store, we
|
||||
// start from initialVersion.
|
||||
version = rs.initialVersion
|
||||
|
||||
} else {
|
||||
// This case can means two things:
|
||||
// - either there was already a previous commit in the store, in which
|
||||
|
||||
@@ -316,7 +316,6 @@ func TestParsePath(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, substore, "bang")
|
||||
require.Equal(t, subsubpath, "/baz")
|
||||
|
||||
}
|
||||
|
||||
func TestMultiStoreRestart(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user