commit 726a2b4906025dd51f6ff7e2c8d22197213311b1
parent 87266eba778bd89121ac0e87c83fa02ca1a74f31
Author: Marc Stibane <marc@taler.net>
Date: Thu, 11 Dec 2025 19:10:08 +0100
add state to avoid needing a 2nd call
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/TalerWallet1/Model/Model+P2P.swift b/TalerWallet1/Model/Model+P2P.swift
@@ -178,6 +178,7 @@ struct PreparePeerPushCreditResponse: Codable {
let amountEffective: Amount
// TODO: the dialog transaction is already created in the local DB - must either accept or delete
let transactionId: String
+ let txState: TransactionState
let exchangeBaseUrl: String // need (exchange.tosStatus == .accepted) for incoming coins
let scopeInfo: ScopeInfo
}
@@ -229,6 +230,7 @@ struct PreparePeerPullDebitResponse: Codable {
let amountEffective: Amount
// TODO: the dialog transaction is already created in the local DB - must either accept or delete
let transactionId: String
+ let txState: TransactionState
// let exchangeBaseUrl: String use scope instead
let scopeInfo: ScopeInfo
}