gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-ios] 05/11: fix fatal error: Duplicate keys of type were fo


From: gnunet
Subject: [taler-taler-ios] 05/11: fix fatal error: Duplicate keys of type were found in a Dictionary
Date: Fri, 05 Apr 2024 22:56:06 +0200

This is an automated email from the git hooks/post-receive script.

marc-stibane pushed a commit to branch master
in repository taler-ios.

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

    fix fatal error: Duplicate keys of type were found in a Dictionary
---
 TalerWallet1/Model/Transaction.swift | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/TalerWallet1/Model/Transaction.swift 
b/TalerWallet1/Model/Transaction.swift
index 36d4907..7900180 100644
--- 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) {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]