Fix wrong Result error usage in eth_data_exporter (#3018)

This commit is contained in:
kdeme 2025-01-24 08:36:28 +01:00 committed by GitHub
parent 9a5fd34dac
commit b917be54ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()