From bdb2465625f4e2f825775d493e4d8e61a3ff9bf6 Mon Sep 17 00:00:00 2001 From: Lukas Korba Date: Mon, 4 Mar 2024 14:24:16 +0100 Subject: [PATCH] Equatable TransactionSubmitResult - TransactionSubmitResult now conforms to Equatable protocol --- Sources/ZcashLightClientKit/Synchronizer.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ZcashLightClientKit/Synchronizer.swift b/Sources/ZcashLightClientKit/Synchronizer.swift index dd109afa..e94013de 100644 --- a/Sources/ZcashLightClientKit/Synchronizer.swift +++ b/Sources/ZcashLightClientKit/Synchronizer.swift @@ -496,7 +496,7 @@ public enum RewindPolicy { /// - grpcFailure: the transaction failed to reach the lightwalletd server. /// - submitFailure: the transaction reached the lightwalletd server but failed to enter the mempool. /// - notAttempted: the transaction was created and is in the local wallet, but was not submitted to the network. -public enum TransactionSubmitResult { +public enum TransactionSubmitResult: Equatable { case success(txId: Data) case grpcFailure(txId: Data, error: LightWalletServiceError) case submitFailure(txId: Data, code: Int, description: String)