From cf20508498fded89e8d0ced740427ea1d4cb3afe Mon Sep 17 00:00:00 2001 From: "kody.low" Date: Fri, 19 Apr 2024 13:31:06 -0700 Subject: [PATCH] chore: release 0.3.2 multimint bump --- Cargo.lock | 10 +++++----- fedimint-clientd/Cargo.toml | 9 ++++++--- fedimint-clientd/src/state.rs | 1 + 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8cd1c6a..f47145e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1002,7 +1002,7 @@ dependencies = [ [[package]] name = "fedimint-clientd" -version = "0.3.1" +version = "0.3.2" dependencies = [ "anyhow", "async-utility", @@ -1026,7 +1026,7 @@ dependencies = [ "lazy_static", "lightning-invoice", "lnurl-rs", - "multimint 0.3.0", + "multimint 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.12.3", "serde", "serde_json", @@ -2389,9 +2389,7 @@ dependencies = [ [[package]] name = "multimint" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a926e1ecf3b97aa2bf98d30de76032c7dcfa12b04ba957c985bd7a11c612f0be" +version = "0.3.2" dependencies = [ "anyhow", "fedimint-client", @@ -2412,6 +2410,8 @@ dependencies = [ [[package]] name = "multimint" version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e09006ccf96f467878dd322f159a5597b53455e6693992b75b18fcedcf53913" dependencies = [ "anyhow", "fedimint-client", diff --git a/fedimint-clientd/Cargo.toml b/fedimint-clientd/Cargo.toml index f78e871..996be41 100644 --- a/fedimint-clientd/Cargo.toml +++ b/fedimint-clientd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fedimint-clientd" -version = "0.3.1" +version = "0.3.2" edition = "2021" description = "A fedimint client daemon for server side applications to hold, use, and manage Bitcoin" repository = "https://github.com/fedimint/fedimint-clientd" @@ -31,13 +31,16 @@ tower-http = { version = "0.5.2", features = ["cors", "auth", "trace"] } bitcoin = "0.29.2" itertools = "0.12.0" lnurl-rs = { version = "0.5.0", features = ["async"], default-features = false } -reqwest = { version = "0.12.3", features = ["json", "rustls-tls"], default-features = false } +reqwest = { version = "0.12.3", features = [ + "json", + "rustls-tls", +], default-features = false } lightning-invoice = { version = "0.26.0", features = ["serde"] } bitcoin_hashes = "0.13.0" time = { version = "0.3.25", features = ["formatting"] } chrono = "0.4.31" futures-util = "0.3.30" clap = { version = "3", features = ["derive", "env"] } -multimint = { version = "0.3.0" } +multimint = { version = "0.3.2" } # multimint = { path = "../multimint" } axum-otel-metrics = "0.8.0" diff --git a/fedimint-clientd/src/state.rs b/fedimint-clientd/src/state.rs index 31a24aa..b9f91bb 100644 --- a/fedimint-clientd/src/state.rs +++ b/fedimint-clientd/src/state.rs @@ -16,6 +16,7 @@ pub struct AppState { impl AppState { pub async fn new(fm_db_path: PathBuf) -> Result { let clients = MultiMint::new(fm_db_path).await?; + clients.update_gateway_caches(true).await?; Ok(Self { multimint: clients, cashu_mint: None,