Skip to content

Commit

Permalink
Removes non used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
grunch committed Dec 27, 2023
1 parent 5685cba commit 7b173d9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/flow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,7 @@ pub async fn hold_invoice_paid(hash: &str) {
"Order Id: {} - Seller paid invoice with hash: {hash}",
order.id
);
let mut master_buyer_pubkey: Option<String> = None;
let mut master_seller_pubkey: Option<String> = None;
// If this is a sell order we show the master identities
if order.kind == "Sell" {
master_buyer_pubkey = order.master_buyer_pubkey.clone();
master_seller_pubkey = order.master_seller_pubkey.clone();
}

let order_kind = match Kind::from_str(&order.kind) {
Ok(k) => k,
Err(e) => {
Expand Down

0 comments on commit 7b173d9

Please sign in to comment.