Explorar o código

Fixed import issue when mint is disabled

Cesar Rodas hai 4 meses
pai
achega
91974d59db
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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};