diff options
| -rw-r--r-- | client/verify.go | 8 | 
1 files changed, 7 insertions, 1 deletions
| diff --git a/client/verify.go b/client/verify.go index c66e54c..8d64211 100644 --- a/client/verify.go +++ b/client/verify.go @@ -61,7 +61,13 @@ func VerifyInclusionProofV1(proof *stfe.StItem, rootHash, leafHash []byte) error  	for _, nh := range proof.InclusionProofV1.InclusionPath {  		path = append(path, nh.Data)  	} -	return merkle.NewLogVerifier(rfc6962.DefaultHasher).VerifyInclusionProof(int64(proof.InclusionProofV1.LeafIndex), int64(proof.InclusionProofV1.TreeSize), path, rootHash, leafHash) +	return merkle.NewLogVerifier(rfc6962.DefaultHasher).VerifyInclusionProof( +		int64(proof.InclusionProofV1.LeafIndex), +		int64(proof.InclusionProofV1.TreeSize), +		path, +		rootHash, +		leafHash, +	)  }  // supportedScheme checks whether the client library supports the log's | 
