diff options
Diffstat (limited to 'p2p/src/protocols')
-rw-r--r-- | p2p/src/protocols/ping.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/src/protocols/ping.rs b/p2p/src/protocols/ping.rs index 4885c1e..f04e059 100644 --- a/p2p/src/protocols/ping.rs +++ b/p2p/src/protocols/ping.rs @@ -50,7 +50,7 @@ impl PingProtocol { peer, ping_interval, ping_timeout, - task_group: TaskGroup::new(executor), + task_group: TaskGroup::with_executor(executor), }) } |