Skip to content

Commit

Permalink
conway block crawl fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky committed Oct 26, 2023
1 parent 641db4e commit 24c160c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sources/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,11 @@ pub fn unknown_block_to_events(writer: &EventWriter, body: &Vec<u8>) -> 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());
}
Expand Down

0 comments on commit 24c160c

Please sign in to comment.