Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann committed Dec 9, 2024
1 parent 2ea3e78 commit 64fbf96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/trie/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,6 @@ func isEdge(parentKey *Key, sNode StorageNode) bool {
// Juno's Trie has nodes that are Binary AND Edge, whereas the protocol requires nodes that are Binary XOR Edge.
// We need to convert the former to the latter for proof generation.
func storageNodeToProofNode(tri *Trie, parentKey *Key, sNode StorageNode) (*Edge, *Binary, error) {
isEdgeBool := isEdge(parentKey, sNode)

var edge *Edge
if isEdge(parentKey, sNode) {
edgePath := path(sNode.key, parentKey)
Expand Down

0 comments on commit 64fbf96

Please sign in to comment.