diff --git a/pallets/traits/Cargo.toml b/pallets/traits/Cargo.toml index bcf5942..916bb18 100644 --- a/pallets/traits/Cargo.toml +++ b/pallets/traits/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ghost-traits" -version = "0.3.28" +version = "0.3.29" license.workspace = true authors.workspace = true edition.workspace = true diff --git a/pallets/traits/src/networks.rs b/pallets/traits/src/networks.rs index c2ea302..737d3fc 100644 --- a/pallets/traits/src/networks.rs +++ b/pallets/traits/src/networks.rs @@ -17,7 +17,7 @@ pub trait NetworkDataBasicHandler { pub trait NetworkDataInspectHandler: NetworkDataBasicHandler { fn count() -> u32; - fn next_network_for_block(b: impl Into) -> Option<(Self::NetworkId, Network)>; + fn network_for_block(b: impl Into) -> Option<(Self::NetworkId, Network)>; fn get(n: &Self::NetworkId) -> Option; fn iter() -> PrefixIterator<(Self::NetworkId, Network)>; }