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

Commit

Permalink
PublicKey are copy
Browse files Browse the repository at this point in the history
  • Loading branch information
johncantrell97 committed Nov 28, 2023
1 parent c0765ad commit 1ffaf0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions mutiny-core/src/lsp/lsps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl<S: MutinyStorage> Lsp for LspsClient<S> {

self.liquidity_manager
.lsps2_create_invoice(
self.pubkey.clone(),
self.pubkey,
Some(fee_request.amount_msat),
self.token.clone(),
fee_request.user_channel_id,
Expand Down Expand Up @@ -293,7 +293,7 @@ impl<S: MutinyStorage> Lsp for LspsClient<S> {

self.liquidity_manager
.opening_fee_params_selected(
self.pubkey.clone(),
self.pubkey,
channel_info.channel_id,
channel_info.fee_params.clone(),
)
Expand All @@ -307,7 +307,7 @@ impl<S: MutinyStorage> Lsp for LspsClient<S> {
}

fn get_lsp_pubkey(&self) -> PublicKey {
self.pubkey.clone()
self.pubkey
}

fn get_lsp_connection_string(&self) -> String {
Expand Down
2 changes: 1 addition & 1 deletion mutiny-core/src/lsp/voltage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl Lsp for LspClient {
}

fn get_lsp_pubkey(&self) -> PublicKey {
self.pubkey.clone()
self.pubkey
}

fn get_lsp_connection_string(&self) -> String {
Expand Down

0 comments on commit 1ffaf0c

Please sign in to comment.