Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jimjbrettj committed Sep 3, 2024
1 parent 1c94b57 commit cbc1b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime/storage/storagediff.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (cs *storageDiff) clearPrefixInChild(keyToChild string, prefix []byte,
// indicating if all keys with the prefix were removed.
func (cs *storageDiff) clearPrefix(prefix []byte, trieKeys []string, limit int) (deleted uint32, allDeleted bool) {
newKeys := maps.Keys(cs.upserts)
keysToClear := newKeys
keysToClear := maps.Keys(cs.upserts)
for _, k := range trieKeys {
if _, ok := cs.upserts[k]; !ok {
keysToClear = append(keysToClear, k)
Expand Down

0 comments on commit cbc1b81

Please sign in to comment.