Back-merge v0.11 hotfix (#146)

This commit is contained in:
Santiago Carmuega 2022-07-03 22:17:58 -03:00 committed by GitHub
commit f26a99f50e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "pallas-traverse"
description = "Utilities to traverse over multi-era block data"
version = "0.11.0"
version = "0.11.1"
edition = "2021"
repository = "https://github.com/txpipe/pallas"
homepage = "https://github.com/txpipe/pallas"

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,