Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Dec 30, 2023
1 parent ff65e47 commit 099c587
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion invoice/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ impl Display for XChainNet<Beneficiary> {
.trim_start_matches("bcrt1");
// 26 27 34 42 62 -- 14..72
// TODO: Do address chunking
f.write_str(&s)
f.write_str(s)
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/persistence/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ pub trait Inventory: Deref<Target = Self::Stash> {
/// Composes a batch of state transitions updating state for the provided
/// set of previous outputs, satisfying requirements of the invoice, paying
/// the change back and including the necessary blank state transitions.
#[allow(clippy::too_many_arguments)]
fn compose_deterministic(
&self,
invoice: &RgbInvoice,
Expand Down

0 comments on commit 099c587

Please sign in to comment.