commit bc298179982dc308cc1126855f63bf2c98a6178b
parent b8d581077e3e6c5e2c7a2c7b64db98a29208d702
Author: Marc Stibane <marc@taler.net>
Date: Mon, 18 Nov 2024 16:08:39 +0100
restrictScope
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/TalerWallet1/Model/Model+P2P.swift b/TalerWallet1/Model/Model+P2P.swift
@@ -121,7 +121,7 @@ struct CheckPeerPullCreditResponse: Codable {
fileprivate struct CheckPeerPullCredit: WalletBackendFormattedRequest {
typealias Response = CheckPeerPullCreditResponse
func operation() -> String { "checkPeerPullCredit" }
- func args() -> Args { Args(amount: amount, scopeInfo: scope,
+ func args() -> Args { Args(amount: amount, restrictScope: scope,
exchangeBaseUrl: scope?.url,
clientCancellationId: "cancel") }
@@ -129,7 +129,7 @@ fileprivate struct CheckPeerPullCredit: WalletBackendFormattedRequest {
var scope: ScopeInfo?
struct Args: Encodable {
var amount: Amount
- var scopeInfo: ScopeInfo?
+ var restrictScope: ScopeInfo?
var exchangeBaseUrl: String?
var clientCancellationId: String?
}