fix: Remove unused (and incorrect) verify call from Merkle tree (#1416)

This commit is contained in:
Giuliano Mega 2026-04-30 18:21:47 -03:00 committed by GitHub
parent 76c4b23c62
commit 4b82d7f82d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -70,9 +70,6 @@ func verify*(self: StorageMerkleProof, leaf: MultiHash, root: MultiHash): ?!bool
self.verify(leafBytes, rootBytes)
func verify*(self: StorageMerkleProof, leaf: Cid, root: Cid): ?!bool =
self.verify(?leaf.mhash.mapFailure, ?leaf.mhash.mapFailure)
proc rootCid*(
self: StorageMerkleTree, version = CIDv1, dataCodec = DatasetRootCodec
): ?!Cid =