fix(traverse): Add missing era probe

This commit is contained in:
Santiago Carmuega 2022-07-03 20:27:06 -03:00
parent cfcae16f0c
commit 2b7282143d

View file

@ -29,6 +29,7 @@ pub fn block_era(cbor: &[u8]) -> Outcome {
3 => Outcome::Matched(Era::Allegra),
4 => Outcome::Matched(Era::Mary),
5 => Outcome::Matched(Era::Alonzo),
6 => Outcome::Matched(Era::Babbage),
_ => Outcome::Inconclusive,
},
_ => Outcome::Inconclusive,