From 1801120412b617b199d3825c4c47139442772bda Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 31 Oct 2024 12:02:55 +1100 Subject: [PATCH] another err > error --- codex/utils/poseidon2digest.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/utils/poseidon2digest.nim b/codex/utils/poseidon2digest.nim index a2817fbb..e6dcee85 100644 --- a/codex/utils/poseidon2digest.nim +++ b/codex/utils/poseidon2digest.nim @@ -65,8 +65,8 @@ proc digest*( ## Hashes chunks of data with a sponge of rate 2, and combines the ## resulting chunk hashes in a merkle root. ## - without tree =? (await Poseidon2Tree.digestTree(bytes, chunkSize)), err: - return failure err + without tree =? (await Poseidon2Tree.digestTree(bytes, chunkSize)), error: + return failure error tree.root