Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jan 4, 2024
1 parent 2878540 commit 98149c7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/liquidity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,15 @@ where
pub(crate) fn lsps2_receive_to_inbound_channel(&self) -> Result<Bolt11Invoice, Error> {
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
}
}
}
}
}
Expand Down

0 comments on commit 98149c7

Please sign in to comment.