From 5e8d45302f2ba6878daf2558a2b8429e90b2f634 Mon Sep 17 00:00:00 2001 From: Jamie Ford Date: Mon, 25 Sep 2023 14:07:45 +1000 Subject: [PATCH] chore: renamed new_ext -> new_inner --- engine/src/dot/retry_rpc.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/src/dot/retry_rpc.rs b/engine/src/dot/retry_rpc.rs index 6b705efd53..da447a3cf0 100644 --- a/engine/src/dot/retry_rpc.rs +++ b/engine/src/dot/retry_rpc.rs @@ -46,10 +46,10 @@ impl DotRetryRpcClient { nodes: NodeContainer, expected_genesis_hash: PolkadotHash, ) -> Result { - 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, // The genesis hash is optional to facilitate testing @@ -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 {