diff options
Diffstat (limited to 'src/rpc/system.rs')
-rw-r--r-- | src/rpc/system.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/system.rs b/src/rpc/system.rs index f5ce817f..ed18f657 100644 --- a/src/rpc/system.rs +++ b/src/rpc/system.rs @@ -543,7 +543,7 @@ impl EndpointHandler<SystemRpc> for System { SystemRpc::Connect(node) => self.handle_connect(node).await, SystemRpc::PullConfig => Ok(self.handle_pull_config()), SystemRpc::AdvertiseStatus(adv) => self.handle_advertise_status(from.into(), adv).await, - SystemRpc::AdvertiseConfig(adv) => self.clone().handle_advertise_config(&adv).await, + SystemRpc::AdvertiseConfig(adv) => self.clone().handle_advertise_config(adv).await, SystemRpc::GetKnownNodes => Ok(self.handle_get_known_nodes()), _ => Err(Error::BadRpc("Unexpected RPC message".to_string())), } |