diff --git a/ConcordiumWallet/Model/AutoGenerated/MakeCreateTransferRequest.swift b/ConcordiumWallet/Model/AutoGenerated/MakeCreateTransferRequest.swift index 4f9186f7..77ff9943 100644 --- a/ConcordiumWallet/Model/AutoGenerated/MakeCreateTransferRequest.swift +++ b/ConcordiumWallet/Model/AutoGenerated/MakeCreateTransferRequest.swift @@ -19,7 +19,7 @@ struct MakeCreateTransferRequest: Codable { let metadataURL: String? let transactionFeeCommission: Double? let bakingRewardCommission: Double? - let finalizationRewardCommission: String? + let finalizationRewardCommission: Double? let bakerKeys: GeneratedBakerKeys? let keys: AccountKeys? let energy: Int? @@ -85,7 +85,7 @@ extension MakeCreateTransferRequest { metadataURL: String?? = nil, transactionFeeCommission: Double?? = nil, bakingRewardCommission: Double?? = nil, - finalizationRewardCommission: String?? = nil, + finalizationRewardCommission: Double?? = nil, bakerKeys: GeneratedBakerKeys?? = nil, keys: AccountKeys?? = nil, energy: Int?? = nil, diff --git a/ConcordiumWallet/Service/MobileWallet.swift b/ConcordiumWallet/Service/MobileWallet.swift index 4917f5f8..33a5c5cd 100644 --- a/ConcordiumWallet/Service/MobileWallet.swift +++ b/ConcordiumWallet/Service/MobileWallet.swift @@ -260,7 +260,7 @@ class MobileWallet: MobileWalletProtocol { metadataURL: metadataURL, transactionFeeCommission: transactionFeeCommission, bakingRewardCommission: bakingRewardCommission, - finalizationRewardCommission: finalizationRewardCommission?.string, + finalizationRewardCommission: finalizationRewardCommission, bakerKeys: bakerKeys, keys: privateAccountKeys, energy: energy,