another err > error
This commit is contained in:
parent
8aaff32b46
commit
1801120412
|
@ -65,8 +65,8 @@ proc digest*(
|
||||||
## Hashes chunks of data with a sponge of rate 2, and combines the
|
## Hashes chunks of data with a sponge of rate 2, and combines the
|
||||||
## resulting chunk hashes in a merkle root.
|
## resulting chunk hashes in a merkle root.
|
||||||
##
|
##
|
||||||
without tree =? (await Poseidon2Tree.digestTree(bytes, chunkSize)), err:
|
without tree =? (await Poseidon2Tree.digestTree(bytes, chunkSize)), error:
|
||||||
return failure err
|
return failure error
|
||||||
|
|
||||||
tree.root
|
tree.root
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue