Skip to content

Commit

Permalink
typo(core-network): should be tokio::spawn not tokio::run (nervosnetw…
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroqn authored and yejiayu committed May 21, 2019
1 parent 97f0c1b commit 42af2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/network/src/outbound/tx_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 42af2ad

Please sign in to comment.