Skip to content

Commit

Permalink
Change comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Mar 21, 2024
1 parent 57522f3 commit db9d171
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 @@ -92,7 +92,7 @@ func (cs *storageDiff) delete(key string) {
// deleteChildLimit deletes lexicographical sorted keys from a child trie with
// a maximum limit, potentially marking the entire child trie for deletion
// if the limit is exceeded.
// This method will do not consider keys created during actual block execution
// Keys created during the current block execution do not count toward the limit
// https://spec.polkadot.network/chap-host-api#id-version-2-prototype-2
func (cs *storageDiff) deleteChildLimit(keyToChild string,
currentChildKeys []string, limit int) (
Expand Down

0 comments on commit db9d171

Please sign in to comment.