diff options
Diffstat (limited to 'src/diplonat.rs')
-rw-r--r-- | src/diplonat.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/diplonat.rs b/src/diplonat.rs index 6b282eb..4252f43 100644 --- a/src/diplonat.rs +++ b/src/diplonat.rs @@ -30,11 +30,7 @@ impl Diplonat { ) .await?; - let sa = StunActor::new( - &rt_cfg.consul, - &rt_cfg.stun, - &rt_cfg.consul.node_name, - ); + let sa = StunActor::new(&rt_cfg.consul, &rt_cfg.stun, &rt_cfg.consul.node_name); let ctx = Self { consul: ca, |