Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 committed Oct 16, 2024
1 parent df2a815 commit 8fb5ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ sp_api::decl_runtime_apis! {
}

pub trait NetworksApi {
fn get_network(network_id: NetworkId) -> Option<(BoundedVec<u8, ConstU32<CHAIN_NAME_LEN>>, BoundedVec<u8, ConstU32<CHAIN_NET_LEN>>)>;
fn get_network(network_id: NetworkId) -> Option<ChainNetwork>;
fn get_gateway(network: NetworkId) -> Option<Gateway>;
}

Expand Down

0 comments on commit 8fb5ac0

Please sign in to comment.