Skip to content

Commit 44d0e3d

Browse files
committed
comment
1 parent ced848c commit 44d0e3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/mel-replay/receipt_fetcher.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ func fetchReceiptFromBlock(
8080
if !ok {
8181
return nil, fmt.Errorf("invalid key path in node")
8282
}
83-
// Check if it is a leaf or extension node.
8483
key := extractKeyNibbles(keyPath)
8584
expectedPath := make([]byte, 0)
8685
expectedPath = append(expectedPath, currentPath...)
87-
expectedPath = append(expectedPath, leafKey...)
86+
expectedPath = append(expectedPath, key...)
8887

88+
// Check if it is a leaf or extension node.
8989
leaf, err := isLeaf(keyPath)
9090
if err != nil {
9191
return nil, err

0 commit comments

Comments
 (0)