From 42af2adaad1b934b7322506d240dc4bda6b4fca0 Mon Sep 17 00:00:00 2001 From: zeroqn Date: Tue, 21 May 2019 03:14:37 +0000 Subject: [PATCH] typo(core-network): should be tokio::spawn not tokio::run (#237) --- core/network/src/outbound/tx_pool.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/network/src/outbound/tx_pool.rs b/core/network/src/outbound/tx_pool.rs index e1ad72ca7..dcd6988c0 100644 --- a/core/network/src/outbound/tx_pool.rs +++ b/core/network/src/outbound/tx_pool.rs @@ -21,7 +21,7 @@ impl TransactionPool for OutboundHandle { outbound.silent_broadcast(Method::BroadcastTxs, data, Mode::Normal); }; - tokio::run(job.unit_error().boxed().compat()); + tokio::spawn(job.unit_error().boxed().compat()); } fn pull_txs(