Skip to content

Commit

Permalink
Fix computation of min_withdrawable (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-21 authored May 31, 2024
1 parent e261696 commit 0584c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lnurl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl LnUrlWithdrawDetails {
) -> Self {
Self {
min_withdrawable: request_data
.max_withdrawable
.min_withdrawable
.as_msats()
.to_amount_up(exchange_rate),
max_withdrawable: request_data
Expand Down

0 comments on commit 0584c8b

Please sign in to comment.