commit 71496f670ea1ebf0ef31584ec668987d6d4b7563
parent da90d4c083d10fe0ea6068282bebce1b704849c7
Author: Marc Stibane <marc@taler.net>
Date: Sun, 23 Aug 2026 19:31:23 +0200
handle .deleted
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift
@@ -304,10 +304,10 @@ extension WalletCore {
}
postNotification(.TransactionDone, userInfo: [TRANSACTIONTRANSITION: decoded])
return
- case .aborting:
+ case .aborting, .aborted:
logger.log("handleStateTransition: Aborting: \(decoded.transactionId, privacy: .private(mask: .hash))")
postNotification(.TransactionStateTransition, userInfo: [TRANSACTIONTRANSITION: decoded])
- case .expired:
+ case .expired, .deleted:
logger.warning("handleStateTransition: Expired: \(decoded.transactionId, privacy: .private(mask: .hash))")
if let index = expired.firstIndex(of: components[2]) {
expired.remove(at: index) // don't beep twice