Skip to content

Commit

Permalink
Remove event triggering
Browse files Browse the repository at this point in the history
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
  • Loading branch information
crodas committed Oct 28, 2024
1 parent 7d75f1d commit 101b1c5
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions crates/cdk/src/mint/melt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 101b1c5

Please sign in to comment.