Skip to content

Commit

Permalink
Don't return error for timed out payment
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed May 8, 2024
1 parent 7368f1c commit f606b6e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mutiny-core/src/nostr/nwc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit f606b6e

Please sign in to comment.