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 ced848c commit 44d0e3dCopy full SHA for 44d0e3d
cmd/mel-replay/receipt_fetcher.go
@@ -80,12 +80,12 @@ func fetchReceiptFromBlock(
80
if !ok {
81
return nil, fmt.Errorf("invalid key path in node")
82
}
83
- // Check if it is a leaf or extension node.
84
key := extractKeyNibbles(keyPath)
85
expectedPath := make([]byte, 0)
86
expectedPath = append(expectedPath, currentPath...)
87
- expectedPath = append(expectedPath, leafKey...)
+ expectedPath = append(expectedPath, key...)
88
+ // Check if it is a leaf or extension node.
89
leaf, err := isLeaf(keyPath)
90
if err != nil {
91
return nil, err
0 commit comments