Skip to content

Commit

Permalink
Remove unneeded generation set
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Mar 15, 2022
1 parent 28e8d51 commit 3665328
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/trie/trie.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ func (t *Trie) insertInLeaf(parentLeaf *node.Leaf, key,

parentLeaf = t.snapshotLeafOnOldGeneration(parentLeaf)
parentLeaf.Value = value
parentLeaf.Generation = t.generation
parentLeaf.SetDirty(true)
return parentLeaf
}
Expand Down

0 comments on commit 3665328

Please sign in to comment.