chore: lint v2 (#24118)

This commit is contained in:
Alex | Interchain Labs
2025-03-25 15:57:24 +00:00
committed by GitHub
parent 9acd7716dd
commit b7a20b81f6
87 changed files with 298 additions and 288 deletions
+2 -5
View File
@@ -368,11 +368,8 @@ func (m *Manager) doRestoreSnapshot(snapshot types.Snapshot, chChunks <-chan io.
return errorsmod.Wrap(err, "multistore restore")
}
for {
if nextItem.Item == nil {
// end of stream
break
}
for nextItem.Item != nil {
metadata := nextItem.GetExtension()
if metadata == nil {
return errorsmod.Wrapf(storetypes.ErrLogic, "unknown snapshot item %T", nextItem.Item)