Skip to content

Commit

Permalink
cardano sink: handle conway era
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Apr 8, 2024
1 parent 3509d97 commit 6738ab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/src/sinks/cardano.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ fn to_era_value(x: &MultiEraBlock) -> EraValue {
MultiEraBlock::Mary(_) => EraValue::Mary,
MultiEraBlock::Alonzo(_) => EraValue::Alonzo,
MultiEraBlock::Babbage(_) => EraValue::Babbage,
_ => unreachable!("all known eras are handled"),
MultiEraBlock::Conway(_) => EraValue::Conway,
}
}

Expand Down

0 comments on commit 6738ab5

Please sign in to comment.