Skip to content

Commit

Permalink
refactor(custom-rpc): rename RPC (#4183)
Browse files Browse the repository at this point in the history
  • Loading branch information
acdibble authored Oct 31, 2023
1 parent 771bda5 commit 2ef0177
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions state-chain/custom-rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ pub trait CustomApi {
at: Option<state_chain_runtime::Hash>,
) -> RpcResult<IngressEgressEnvironment>;
#[method(name = "pool_environment")]
fn cf_pool_environment(
fn cf_pools_environment(
&self,
at: Option<state_chain_runtime::Hash>,
) -> RpcResult<PoolsEnvironment>;
Expand Down Expand Up @@ -895,7 +895,7 @@ where
})
}

fn cf_pool_environment(
fn cf_pools_environment(
&self,
at: Option<state_chain_runtime::Hash>,
) -> RpcResult<PoolsEnvironment> {
Expand All @@ -919,7 +919,7 @@ where
ingress_egress: self.cf_ingress_egress_environment(at)?,
swapping: self.cf_swapping_environment(at)?,
funding: self.cf_funding_environment(at)?,
pools: self.cf_pool_environment(at)?,
pools: self.cf_pools_environment(at)?,
})
}

Expand Down

0 comments on commit 2ef0177

Please sign in to comment.