taler-ios

iOS apps for GNU Taler (wallet)
Log | Files | Refs | README | LICENSE

commit 24f562331b07b2d002289d7e8b756bce76c1e5a2
parent 5fb423da5709a492bd07479908f721736402314c
Author: Marc Stibane <marc@taler.net>
Date:   Fri,  5 Apr 2024 21:50:22 +0200

fix fatal error: Duplicate keys of type were found in a Dictionary

Diffstat:
MTalerWallet1/Model/Transaction.swift | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Model/Transaction.swift b/TalerWallet1/Model/Transaction.swift @@ -513,7 +513,8 @@ enum Transaction: Decodable, Hashable, Identifiable, Sendable { } static func == (lhs: Transaction, rhs: Transaction) -> Bool { - return lhs.id == rhs.id + return (lhs.id == rhs.id) + && (lhs.common.txState == rhs.common.txState) } func hash(into hasher: inout Hasher) {