fix(traverse): Add missing era probe

This commit is contained in:
Santiago Carmuega 2022-07-03 20:27:06 -03:00
parent e38193dec8
commit 22ff70aed5

View file

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