From f606b6ead95efcbd73b3ffb2422a2d31a0d33d8e Mon Sep 17 00:00:00 2001 From: benthecarman Date: Wed, 8 May 2024 07:43:35 -0500 Subject: [PATCH] Don't return error for timed out payment --- mutiny-core/src/nostr/nwc.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mutiny-core/src/nostr/nwc.rs b/mutiny-core/src/nostr/nwc.rs index 979319764..31ef1f0f1 100644 --- a/mutiny-core/src/nostr/nwc.rs +++ b/mutiny-core/src/nostr/nwc.rs @@ -999,6 +999,11 @@ impl NostrWalletConnect { nostr_manager.logger, "Payment timeout, not removing payment from budget" ); + + nostr_manager.save_nwc_profile(self.clone())?; + + // don't save to pending list, we already paid it + return Ok(None); } MutinyError::NonUniquePaymentHash => { log_warn!(