mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-17 21:27:54 +00:00
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…
x
Reference in New Issue
Block a user