From b917be54abf5e7d9fbda3f7b373fcd2b2fb3a8da Mon Sep 17 00:00:00 2001 From: kdeme <7857583+kdeme@users.noreply.github.com> Date: Fri, 24 Jan 2025 08:36:28 +0100 Subject: [PATCH] Fix wrong Result error usage in eth_data_exporter (#3018) --- fluffy/tools/eth_data_exporter.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluffy/tools/eth_data_exporter.nim b/fluffy/tools/eth_data_exporter.nim index f750a8c32..536ea589a 100644 --- a/fluffy/tools/eth_data_exporter.nim +++ b/fluffy/tools/eth_data_exporter.nim @@ -1,5 +1,5 @@ # Fluffy -# Copyright (c) 2022-2024 Status Research & Development GmbH +# Copyright (c) 2022-2025 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -579,7 +579,7 @@ when isMainModule: let epochRecordRes = readEpochRecordCached(epochRecordFile) if epochRecordRes.isErr(): - error "Could not read epoch record file", error = res.error + error "Could not read epoch record file", error = epochRecordRes.error quit 1 let epochRecord = epochRecordRes.get()