Skip to content

Commit

Permalink
chore: renamed new_ext -> new_inner
Browse files Browse the repository at this point in the history
  • Loading branch information
j4m1ef0rd committed Sep 25, 2023
1 parent 956611f commit 5e8d453
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/src/dot/retry_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ impl DotRetryRpcClient {
nodes: NodeContainer<WsHttpEndpoints>,
expected_genesis_hash: PolkadotHash,
) -> Result<Self> {
Self::new_ext(scope, nodes, Some(expected_genesis_hash))
Self::new_inner(scope, nodes, Some(expected_genesis_hash))
}

fn new_ext(
fn new_inner(
scope: &Scope<'_, anyhow::Error>,
nodes: NodeContainer<WsHttpEndpoints>,
// The genesis hash is optional to facilitate testing
Expand Down Expand Up @@ -316,7 +316,7 @@ mod tests {
async fn my_test() {
task_scope(|scope| {
async move {
let dot_retry_rpc_client = DotRetryRpcClient::new_ext(
let dot_retry_rpc_client = DotRetryRpcClient::new_inner(
scope,
NodeContainer {
primary: WsHttpEndpoints {
Expand Down

0 comments on commit 5e8d453

Please sign in to comment.