go-ethereum
go-ethereum copied to clipboard
trie/utils: remove useless `SetZero` for verkle
The default value of fr.Element is already zero, you can see the evidence in go-verkle here:
-
https://github.com/ethereum/go-verkle/blob/dffa7562dbe971a9776f43795d49177a18ecb5c8/tree.go#L273
-
https://github.com/ethereum/go-verkle/blob/dffa7562dbe971a9776f43795d49177a18ecb5c8/tree.go#L294
It doesn't call SetZero for those already zeroed fr.Elements.