From 101b1c5115408c560b2072b9e45a1d5bee4386b2 Mon Sep 17 00:00:00 2001 From: Cesar Rodas Date: Mon, 28 Oct 2024 13:07:40 -0300 Subject: [PATCH] Remove event triggering The event is new, so no ID is created an there cannot be anyone listeing. Ref[1] [1] https://github.com/cashubtc/cdk/pull/394/files/6fafbfdd70158f2c5f40a65e5505d7719379fa60#r1812938243 --- crates/cdk/src/mint/melt.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/crates/cdk/src/mint/melt.rs b/crates/cdk/src/mint/melt.rs index 119b68947..7a396d5aa 100644 --- a/crates/cdk/src/mint/melt.rs +++ b/crates/cdk/src/mint/melt.rs @@ -114,12 +114,7 @@ impl Mint { self.localstore.add_melt_quote(quote.clone()).await?; - let quote: MeltQuoteBolt11Response = quote.into(); - - self.pubsub_manager - .broadcast(NotificationPayload::MeltQuoteBolt11Response(quote.clone())); - - Ok(quote) + Ok(quote.into()) } /// Check melt quote status