diff --git a/store/rootmulti/store.go b/store/rootmulti/store.go index 1bb83618cef4..a5c6ec3a1a8a 100644 --- a/store/rootmulti/store.go +++ b/store/rootmulti/store.go @@ -11,6 +11,7 @@ import ( "sync" cmtproto "github.com/cometbft/cometbft/proto/tendermint/types" + dbm "github.com/cosmos/cosmos-db" protoio "github.com/cosmos/gogoproto/io" gogotypes "github.com/cosmos/gogoproto/types" @@ -919,7 +920,6 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { return nil }() - if err != nil { return err } @@ -931,7 +931,7 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error { // Restore implements snapshottypes.Snapshotter. // returns next snapshot item and error. func (rs *Store) Restore( - height uint64, format uint32, protoReader protoio.Reader, + height uint64, _ uint32, protoReader protoio.Reader, ) (snapshottypes.SnapshotItem, error) { // Import nodes into stores. The first item is expected to be a SnapshotItem containing // a SnapshotStoreItem, telling us which store to import into. The following items will contain