From 98149c7e9d73221838df15c090c84079017a27ec Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 4 Jan 2024 12:45:01 +0100 Subject: [PATCH] WIP --- src/liquidity.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/liquidity.rs b/src/liquidity.rs index 65bb48211..4b339fbe9 100644 --- a/src/liquidity.rs +++ b/src/liquidity.rs @@ -179,7 +179,15 @@ where pub(crate) fn lsps2_receive_to_inbound_channel(&self) -> Result { match self { Self::None => Err(Error::LiquiditySourceUnavailable), - Self::LSPS2 { .. } => Err(Error::LiquiditySourceUnavailable), + Self::LSPS2 { liquidity_manager, pending_fee_requests, pending_buy_requests } => { + // First, get the current opening fee from the LSP and check whether we want to + // proceed. + // + { + let (fee_request_sender, fee_request_receiver) = oneshot::channel(); + self.pending + } + } } } }