commit 709efe374bdb13064da2a718d19edeb44f4aaca8
parent 62852d40ada56e5163abdd570ae343e8e9873151
Author: Marc Stibane <marc@taler.net>
Date: Tue, 24 Feb 2026 08:12:59 +0100
refreshExpired no longer exists
Diffstat:
1 file changed, 0 insertions(+), 13 deletions(-)
diff --git a/TalerWallet1/Backend/WalletCore.swift b/TalerWallet1/Backend/WalletCore.swift
@@ -240,19 +240,6 @@ extension WalletCore {
postNotification(.TransactionDone, userInfo: [TRANSACTIONTRANSITION: decoded])
return
case .aborting:
- if let newMinor {
- if newMinor == .refreshExpired {
- logger.warning("handleStateTransition: RefreshExpired: \(decoded.transactionId, privacy: .private(mask: .hash))")
- if let index = expired.firstIndex(of: components[2]) {
- expired.remove(at: index) // don't beep twice
- } else {
- expired.append(components[2])
- Controller.shared.playSound(0) // beep at first sight
- }
- postNotification(.TransactionExpired, userInfo: [TRANSACTIONTRANSITION: decoded])
- return
- }
- }
logger.log("handleStateTransition: Aborting: \(decoded.transactionId, privacy: .private(mask: .hash))")
postNotification(.TransactionStateTransition, userInfo: [TRANSACTIONTRANSITION: decoded])
case .expired: