From 428bbe95e43a12537ed5bb4bb9e93b11e742bcbe Mon Sep 17 00:00:00 2001 From: thesimplekid Date: Tue, 24 Sep 2024 10:19:47 +0200 Subject: [PATCH] chore: clippy --- .../src/mint/migrations/20240923153640_melt_requests.sql | 2 +- crates/cdk/src/cdk_database/mod.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/cdk-sqlite/src/mint/migrations/20240923153640_melt_requests.sql b/crates/cdk-sqlite/src/mint/migrations/20240923153640_melt_requests.sql index 2e8e4710e..3299bff1f 100644 --- a/crates/cdk-sqlite/src/mint/migrations/20240923153640_melt_requests.sql +++ b/crates/cdk-sqlite/src/mint/migrations/20240923153640_melt_requests.sql @@ -1,4 +1,4 @@ --- Melt Requesr Table +-- Melt Request Table CREATE TABLE IF NOT EXISTS melt_request ( id TEXT PRIMARY KEY, inputs TEXT NOT NULL, diff --git a/crates/cdk/src/cdk_database/mod.rs b/crates/cdk/src/cdk_database/mod.rs index 338f8ddd8..ed0890afe 100644 --- a/crates/cdk/src/cdk_database/mod.rs +++ b/crates/cdk/src/cdk_database/mod.rs @@ -16,6 +16,7 @@ use crate::mint::MintKeySetInfo; use crate::mint::MintQuote as MintMintQuote; #[cfg(feature = "wallet")] use crate::mint_url::MintUrl; +#[cfg(feature = "mint")] use crate::nuts::MeltBolt11Request; #[cfg(feature = "mint")] use crate::nuts::{BlindSignature, MeltQuoteState, MintQuoteState, Proof, Proofs}; @@ -23,6 +24,7 @@ use crate::nuts::{BlindSignature, MeltQuoteState, MintQuoteState, Proof, Proofs} use crate::nuts::{CurrencyUnit, Id, PublicKey, State}; #[cfg(feature = "wallet")] use crate::nuts::{KeySetInfo, Keys, MintInfo, SpendingConditions}; +#[cfg(feature = "mint")] use crate::types::LnKey; #[cfg(feature = "wallet")] use crate::types::ProofInfo;