Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Prev Previous commit
Next Next commit
remove leftover comment
  • Loading branch information
acatangiu committed Dec 2, 2022
commit d43fd61a2fbd6572575f60a73a1583229190a68c
15 changes: 4 additions & 11 deletions client/merkle-mountain-range/src/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,18 +341,11 @@ pub(crate) fn run_test_with_mmr_gadget_pre_post_using_client<F, G, RetF, RetG>(
runtime.block_on(async move { pre_gadget(client_clone).await });

let client_clone = client.clone();
runtime.spawn(
async move {
let backend = client_clone.backend.clone();
MmrGadget::start(
client_clone.clone(),
backend,
MockRuntimeApi::INDEXING_PREFIX.to_vec(),
)
runtime.spawn(async move {
let backend = client_clone.backend.clone();
MmrGadget::start(client_clone.clone(), backend, MockRuntimeApi::INDEXING_PREFIX.to_vec())
.await
}, /* .boxed_local()
* .into(), */
);
});

runtime.block_on(async move {
tokio::time::sleep(Duration::from_millis(200)).await;
Expand Down