Skip to content

Commit

Permalink
Merge pull request #673 from getlipa/fix/breez/maxfee_percent
Browse files Browse the repository at this point in the history
Fix maxfee_percent integer division
  • Loading branch information
danielgranhao authored Oct 3, 2023
2 parents b7d7029 + 6bd02c5 commit d4cb2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl LightningNode {

breez_config.working_dir = config.local_persistence_path.clone();
// TODO configure `exemptfee` when exposed by Breez
breez_config.maxfee_percent = (MAX_FEE_PERMYRIAD / 100).into();
breez_config.maxfee_percent = MAX_FEE_PERMYRIAD as f64 / 100_f64;

let sdk = rt
.handle()
Expand Down

0 comments on commit d4cb2b2

Please sign in to comment.