diff --git a/Cargo.lock b/Cargo.lock index ea69eeb1..fdce9e46 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4074,9 +4074,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -4103,9 +4103,9 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 7db662e1..890e24d3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -58,7 +58,7 @@ serde_json = "1.0" sha2 = { version = "0.10.8", features = [] } simplelog = { version = "0.12.2" } thiserror = "1.0.61" -tokio = { version = "1.37.0", features = ["rt-multi-thread", "time", "sync"] } +tokio = { version = "1.38.0", features = ["rt-multi-thread", "time", "sync"] } uniffi = "0.27.0" uuid = { version = "1.8.0", features = ["v5"] } diff --git a/src/lnurl.rs b/src/lnurl.rs index 7b5cf1de..c8836d0c 100644 --- a/src/lnurl.rs +++ b/src/lnurl.rs @@ -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