From f524b01b03e20450daffb4ffbe546fa454f19f32 Mon Sep 17 00:00:00 2001 From: Uncle Stinky Date: Sat, 21 Feb 2026 17:52:42 +0300 Subject: [PATCH] make function name more obvious Signed-off-by: Uncle Stinky --- pallets/traits/Cargo.toml | 2 +- pallets/traits/src/networks.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)>; }