Skip to content

Commit

Permalink
Merge with other branch
Browse files Browse the repository at this point in the history
  • Loading branch information
asdacap committed Jun 20, 2024
1 parent ae92027 commit bb52a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sync/snapsyncer.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ func (s *SnapSyncher) Run(ctx context.Context) error {
}

func VerifyTrie(expectedRoot *felt.Felt, paths, hashes []*felt.Felt, proofs []trie.ProofNode, height uint8, hash func(*felt.Felt, *felt.Felt) *felt.Felt) (bool, error) {
hasMore, valid, err := trie.VerifyRange(expectedRoot, nil, paths, hashes, proofs, hash)
hasMore, valid, err := trie.VerifyRange(expectedRoot, nil, paths, hashes, proofs, hash, height)
if err != nil {
return false, err
}
Expand Down

0 comments on commit bb52a09

Please sign in to comment.