Skip to content

Commit

Permalink
Import ss latest version during sc migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Kbhat1 committed Oct 28, 2024
1 parent 0fc8b2e commit 4193e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storev2/rootmulti/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ loop:
scImporter.AddNode(node)

// Check if we should also import to SS store
if rs.ssStore != nil && node.Height == 0 && ssImporter != nil {
if rs.ssStore != nil && ssImporter != nil {

Check warning on line 766 in storev2/rootmulti/store.go

View check run for this annotation

Codecov / codecov/patch

storev2/rootmulti/store.go#L766

Added line #L766 was not covered by tests
ssImporter <- sstypes.SnapshotNode{
StoreKey: storeKey,
Key: node.Key,
Expand Down

0 comments on commit 4193e4f

Please sign in to comment.