From 1162a961126aa87b9a4309daa2436de6dd3ca169 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Fri, 31 Jan 2025 18:32:58 +0100 Subject: [PATCH] Simplify cid usage --- codex/node.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/node.nim b/codex/node.nim index d87286c7..062ec2ce 100644 --- a/codex/node.nim +++ b/codex/node.nim @@ -561,7 +561,7 @@ proc onStore( let cid = request.content.cid logScope: - cid = $cid.data.buffer + cid = $cid slotIdx = slotIdx trace "Received a request to store a slot" @@ -635,7 +635,7 @@ proc onProve( ## let - cidStr = $slot.request.content.cid.data.buffer + cidStr = $slot.request.content.cid slotIdx = slot.slotIndex.truncate(Natural) logScope: