|
@@ -755,13 +755,6 @@ impl Mint {
|
|
|
)
|
|
|
.await?;
|
|
|
|
|
|
- self.pubsub_manager.melt_quote_status(
|
|
|
- "e,
|
|
|
- payment_preimage.clone(),
|
|
|
- None,
|
|
|
- MeltQuoteState::Paid,
|
|
|
- );
|
|
|
-
|
|
|
let mut change = None;
|
|
|
|
|
|
// Check if there is change to return
|
|
@@ -827,6 +820,13 @@ impl Mint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ self.pubsub_manager.melt_quote_status(
|
|
|
+ "e,
|
|
|
+ payment_preimage.clone(),
|
|
|
+ change.clone(),
|
|
|
+ MeltQuoteState::Paid,
|
|
|
+ );
|
|
|
+
|
|
|
proof_writer.commit();
|
|
|
tx.commit().await?;
|
|
|
|