mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-06-19 17:09:34 +00:00
fix: Remove unused (and incorrect) verify call from Merkle tree (#1416)
This commit is contained in:
parent
76c4b23c62
commit
4b82d7f82d
@ -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