Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudgray committed Oct 23, 2024
1 parent 80e2a8a commit baa3638
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -919,7 +920,6 @@ func (rs *Store) Snapshot(height uint64, protoWriter protoio.Writer) error {

return nil
}()

if err != nil {
return err
}
Expand All @@ -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
Expand Down

0 comments on commit baa3638

Please sign in to comment.