Remove unused (and incorrect) verify call from

Merkle tree.
This commit is contained in:
gmega 2026-04-10 08:56:45 -03:00
parent 4ea8350612
commit b3c43ef0f5
No known key found for this signature in database
GPG Key ID: 6290D34EAD824B18

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 =