Skip to content
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
min/max payment size unused for now
Browse files Browse the repository at this point in the history
  • Loading branch information
johncantrell97 committed Nov 28, 2023
1 parent 1ffaf0c commit f9a9ead
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mutiny-core/src/lsp/lsps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ pub(crate) struct JitChannelInfo {
pub(crate) struct GetInfoResponse {
pub jit_channel_id: u128,
pub opening_fee_params_menu: Vec<OpeningFeeParams>,
pub min_payment_size_msat: u64,
pub max_payment_size_msat: u64,
pub user_channel_id: u128,
}

#[derive(Clone)]
Expand Down Expand Up @@ -103,8 +100,6 @@ impl<S: MutinyStorage> LspsClient<S> {
events::Event::LSPS2(LSPS2Event::GetInfoResponse {
jit_channel_id,
opening_fee_params_menu,
min_payment_size_msat,
max_payment_size_msat,
user_channel_id,
..
}) => {
Expand All @@ -118,9 +113,6 @@ impl<S: MutinyStorage> LspsClient<S> {
if let Err(_e) = fee_response_sender.send(GetInfoResponse {
jit_channel_id,
opening_fee_params_menu,
min_payment_size_msat,
max_payment_size_msat,
user_channel_id,
}) {
// log error
}
Expand Down

0 comments on commit f9a9ead

Please sign in to comment.