From d7f5791a4213fa7b84f39d93f8e91cbda6658846 Mon Sep 17 00:00:00 2001 From: Cesar Rodas Date: Mon, 28 Oct 2024 13:09:58 -0300 Subject: [PATCH] Remove event triggering There are no listeners this early in the program stage[1] [1] https://github.com/cashubtc/cdk/pull/394#discussion_r1812948471 --- crates/cdk-mintd/src/main.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/crates/cdk-mintd/src/main.rs b/crates/cdk-mintd/src/main.rs index af4563a97..194facbe8 100644 --- a/crates/cdk-mintd/src/main.rs +++ b/crates/cdk-mintd/src/main.rs @@ -640,13 +640,6 @@ async fn check_pending_melt_quotes( mint.localstore .update_melt_quote_state(&pending_quote.id, pay_invoice_response.status) .await?; - - mint.pubsub_manager.melt_quote_status( - &pending_quote, - None, - None, - pay_invoice_response.status, - ); } }; }