From 9575f5f640bffaca9cb4910a3a4017b2358c9d07 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 15 Jul 2024 09:25:57 +0200
Subject: [PATCH] chore(deps): bump lightning-invoice from 0.30.0 to 0.31.0
 (#290)

Bumps [lightning-invoice](https://github.com/lightningdevkit/rust-lightning) from 0.30.0 to 0.31.0.
- [Release notes](https://github.com/lightningdevkit/rust-lightning/releases)
- [Changelog](https://github.com/lightningdevkit/rust-lightning/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lightningdevkit/rust-lightning/commits)

---
updated-dependencies:
- dependency-name: lightning-invoice
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
 Cargo.lock                  | 9 ++++-----
 integrationtests/Cargo.toml | 2 +-
 moksha-mint/Cargo.toml      | 2 +-
 moksha-wallet/Cargo.toml    | 2 +-
 4 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 37f3cfdd..e06a0adc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1843,9 +1843,9 @@ dependencies = [
 
 [[package]]
 name = "lightning"
-version = "0.0.122"
+version = "0.0.123"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d9b36ae12b379905bfc429ce5d4e8ca4a55c8dd3de73074309bd0bcc053bcac"
+checksum = "5fd92d4aa159374be430c7590e169b4a6c0fb79018f5bc4ea1bffde536384db3"
 dependencies = [
  "bitcoin 0.30.2",
  "hex-conservative 0.1.1",
@@ -1853,14 +1853,13 @@ dependencies = [
 
 [[package]]
 name = "lightning-invoice"
-version = "0.30.0"
+version = "0.31.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "106fdb897e69df697480f45bf0a564b425af488fb0f7407e770a770c39b19a21"
+checksum = "26d07d01cf197bf2184b929b7dc94aa70d935aac6df896c256a3a9475b7e9d40"
 dependencies = [
  "bech32 0.9.1",
  "bitcoin 0.30.2",
  "lightning",
- "num-traits",
  "secp256k1 0.27.0",
 ]
 
diff --git a/integrationtests/Cargo.toml b/integrationtests/Cargo.toml
index 42d8c93c..08b6116a 100644
--- a/integrationtests/Cargo.toml
+++ b/integrationtests/Cargo.toml
@@ -18,7 +18,7 @@ rand = { workspace = true }
 axum = { workspace = true }
 anyhow = { workspace = true, features = ["backtrace"] }
 serde = { workspace = true, features = ["derive"] }
-lightning-invoice = "0.30.0"
+lightning-invoice = "0.31.0"
 bitcoin = { version = "0.30.2", default-features = false }
 secp256k1 = { version = "0.27.0", default-features = false, features = ["recovery", "alloc", "rand"] }
 testcontainers = { workspace = true }
diff --git a/moksha-mint/Cargo.toml b/moksha-mint/Cargo.toml
index 2077287d..aaa6ef39 100644
--- a/moksha-mint/Cargo.toml
+++ b/moksha-mint/Cargo.toml
@@ -30,7 +30,7 @@ tower-http = { workspace = true, features = ["cors", "fs", "set-header"] }
 secp256k1 = { workspace = true, default-features = false, features = ["rand", "serde"] }
 thiserror = { workspace = true }
 moksha-core = { path = "../moksha-core", version = "0.2.1" }
-lightning-invoice = "0.30.0"
+lightning-invoice = "0.31.0"
 reqwest = { workspace = true, features = ["json", "rustls-tls", "socks"] }
 url = { workspace = true }
 dotenvy = { workspace = true }
diff --git a/moksha-wallet/Cargo.toml b/moksha-wallet/Cargo.toml
index b7b8c947..c0521c1c 100644
--- a/moksha-wallet/Cargo.toml
+++ b/moksha-wallet/Cargo.toml
@@ -21,7 +21,7 @@ serde_json = { workspace = true }
 serde = { workspace = true }
 thiserror = { workspace = true }
 async-trait = { workspace = true }
-lightning-invoice = "0.30.0"
+lightning-invoice = "0.31.0"
 url = { workspace = true }
 dirs = { workspace = true }
 bip32 = { workspace = true, features = ["secp256k1", "std"] }