From 24c160c8923569bb110e1df0e276d2c15df0a6e8 Mon Sep 17 00:00:00 2001 From: lisicky Date: Thu, 26 Oct 2023 10:39:57 +0800 Subject: [PATCH] conway block crawl fix --- src/sources/common.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/sources/common.rs b/src/sources/common.rs index ee7db1c8..2640b48a 100644 --- a/src/sources/common.rs +++ b/src/sources/common.rs @@ -353,6 +353,11 @@ pub fn unknown_block_to_events(writer: &EventWriter, body: &Vec) -> Result<( .crawl_from_babbage_cbor(body) .ok_or_warn("error crawling babbage block for events"); } + Era::Conway => { + writer + .crawl_from_babbage_cbor(body) + .ok_or_warn("error crawling conway block for events"); + } x => { return Err(format!("This version of Oura can't handle era: {x}").into()); }