diff options
author | Florian Dold <florian@dold.me> | 2023-02-19 20:25:28 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-19 20:25:28 +0100 |
commit | 7f6c079202002078e5c99cb0e3f55b48de1e99e1 (patch) | |
tree | dc4a65295f3e61ad2b912456bb8e56a00a4cc07d | |
parent | 0248cdd0bf087e7c354065a908aee98cd63ab876 (diff) | |
download | taler-swift-test-7f6c079202002078e5c99cb0e3f55b48de1e99e1.tar.gz taler-swift-test-7f6c079202002078e5c99cb0e3f55b48de1e99e1.tar.bz2 taler-swift-test-7f6c079202002078e5c99cb0e3f55b48de1e99e1.zip |
-rw-r--r-- | TalerWalletMessages/Sources/TalerWalletMessages/TalerWalletMessages.swift | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TalerWalletMessages/Sources/TalerWalletMessages/TalerWalletMessages.swift b/TalerWalletMessages/Sources/TalerWalletMessages/TalerWalletMessages.swift index 074469f..e7e149c 100644 --- a/TalerWalletMessages/Sources/TalerWalletMessages/TalerWalletMessages.swift +++ b/TalerWalletMessages/Sources/TalerWalletMessages/TalerWalletMessages.swift @@ -40,11 +40,11 @@ enum Transaction: Decodable { case "payment": let paymentDetails = try PaymentTransactionDetails.init(from: decoder) self = .payment(PaymentTransaction(common: common, details: paymentDetails)) - default: - let context = DecodingError.Context( - codingPath: decoder.codingPath, - debugDescription: "Invalid transaction type") - throw DecodingError.typeMismatch(Transaction.self, context) + default: + let context = DecodingError.Context( + codingPath: decoder.codingPath, + debugDescription: "Invalid transaction type") + throw DecodingError.typeMismatch(Transaction.self, context) } } } |