浏览代码

chore: secret unused for now

thesimplekid 1 年之前
父节点
当前提交
69f03e1ddc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      crates/cashu-sdk/src/mint.rs

+ 2 - 2
crates/cashu-sdk/src/mint.rs

@@ -17,7 +17,7 @@ use crate::types::Quote;
 
 pub struct Mint {
     //    pub pubkey: PublicKey
-    secret: String,
+    _secret: String,
     pub keysets: HashMap<Id, nut02::mint::KeySet>,
     pub keysets_info: HashMap<Id, MintKeySetInfo>,
     pub spent_secrets: HashSet<Secret>,
@@ -62,7 +62,7 @@ impl Mint {
         }
 
         Self {
-            secret: secret.to_string(),
+            _secret: secret.to_string(),
             keysets,
             quotes,
             keysets_info: info,