Răsfoiți Sursa

Fix format and remove redundant line[1]

[1] https://github.com/cashubtc/cdk/pull/394#discussion_r1830086684
Cesar Rodas 4 luni în urmă
părinte
comite
54f5ab902c

+ 1 - 1
crates/cdk-axum/src/ws/subscribe.rs

@@ -13,7 +13,7 @@ pub struct Method(Params);
 #[derive(Debug, Clone, serde::Serialize)]
 pub struct Response {
     status: String,
-    #[serde(rename = "subId")]  
+    #[serde(rename = "subId")]
     sub_id: SubId,
 }
 

+ 0 - 3
crates/cdk/src/mint/mint_nut04.rs

@@ -301,9 +301,6 @@ impl Mint {
                 .await
                 .unwrap();
 
-            self.pubsub_manager
-                .mint_quote_bolt11_status(mint_quote, MintQuoteState::Paid);
-
             return Err(Error::BlindedMessageAlreadySigned);
         }