diff --git a/src/lib.rs b/src/lib.rs index be34e93a3..d298311c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1303,7 +1303,7 @@ impl Node { /// Opens a channel with a peer. pub fn open_channel( &self, node_id: PublicKey, address: SocketAddress, channel_amount_sats: u64, - push_to_counterparty_msat: Option, channel_config: Option>, + push_to_counterparty_msat: Option, channel_config: Option, ) -> Result { self.connect_open_channel( node_id, @@ -1317,7 +1317,7 @@ impl Node { /// Opens an announced channel with a peer. pub fn open_announced_channel( &self, node_id: PublicKey, address: SocketAddress, channel_amount_sats: u64, - push_to_counterparty_msat: Option, channel_config: Option>, + push_to_counterparty_msat: Option, channel_config: Option, ) -> Result { if !can_announce_channel(&self.config) { return Err(Error::OpenAnnouncedChannelFailed);