mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-05-12 06:19:33 +00:00
Remove unused (and incorrect) verify call from
Merkle tree.
This commit is contained in:
parent
4ea8350612
commit
b3c43ef0f5
@ -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 =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user