[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.
- [taler-taler-ios] branch master updated (25d37c2 -> 0e970ad), gnunet, 2024/04/05
- [taler-taler-ios] 01/11: setConfig(devModeActive), gnunet, 2024/04/05
- [taler-taler-ios] 05/11: fix fatal error: Duplicate keys of type were found in a Dictionary,
gnunet <=
- [taler-taler-ios] 02/11: terms-exchange prep, gnunet, 2024/04/05
- [taler-taler-ios] 03/11: prepare DepositWithdrawV, gnunet, 2024/04/05
- [taler-taler-ios] 04/11: flags, includeRefreshes, make error parts optional, gnunet, 2024/04/05
- [taler-taler-ios] 06/11: Remove Banking tab, gnunet, 2024/04/05
- [taler-taler-ios] 07/11: Settings: add Payment Services, gnunet, 2024/04/05
- [taler-taler-ios] 09/11: add DepositWithdrawV to Balances, gnunet, 2024/04/05
- [taler-taler-ios] 10/11: use DepositWithdrawV in Exchanges, gnunet, 2024/04/05
- [taler-taler-ios] 08/11: ScopeInfo, gnunet, 2024/04/05
- [taler-taler-ios] 11/11: dev-experiment/start-block-refresh, gnunet, 2024/04/05