We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ec72cb commit a747a55Copy full SHA for a747a55
triedb/pathdb/nodes.go
@@ -50,7 +50,7 @@ func newNodeSet(nodes map[common.Hash]map[string]*trienode.Node) *nodeSet {
50
}
51
s := &nodeSet{
52
accountNodes: make(map[string]*trienode.Node),
53
- storageNodes: make(map[common.Hash]map[string]*trienode.Node),
+ storageNodes: make(map[common.Hash]map[string]*trienode.Node, len(nodes)),
54
55
for owner, subset := range nodes {
56
if owner == (common.Hash{}) {
0 commit comments