From 008844cb948a1b9794c7ef9a018f22ff7a1f5663 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Fri, 27 Oct 2023 15:16:16 +0200 Subject: [PATCH] plugin: Make the WrappedNodeServer Cloneable --- libs/gl-plugin/src/node/wrapper.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gl-plugin/src/node/wrapper.rs b/libs/gl-plugin/src/node/wrapper.rs index 162986766..44ca610b7 100644 --- a/libs/gl-plugin/src/node/wrapper.rs +++ b/libs/gl-plugin/src/node/wrapper.rs @@ -11,6 +11,7 @@ use super::PluginNodeServer; /// implements the guarding against RPC commands that'd require a /// signature if no HSM is attached (that'd lock up our node) and /// providing RouteHints for disconnected and zeroconf channels too. +#[derive(Clone)] pub struct WrappedNodeServer { inner: cln_grpc::Server, node_server: PluginNodeServer,