浏览代码

Fixed import issue when mint is disabled

Cesar Rodas 5 月之前
父节点
当前提交
91974d59db
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      crates/cdk/src/nuts/nut05.rs

+ 1 - 2
crates/cdk/src/nuts/nut05.rs

@@ -12,8 +12,7 @@ use thiserror::Error;
 use super::nut00::{BlindSignature, BlindedMessage, CurrencyUnit, PaymentMethod, Proofs};
 use super::nut15::Mpp;
 #[cfg(feature = "mint")]
-use crate::mint;
-use crate::mint::MeltQuote;
+use crate::mint::{self, MeltQuote};
 use crate::nuts::MeltQuoteState;
 use crate::{Amount, Bolt11Invoice};