Skip to content

Commit

Permalink
Merge pull request #1385 from LukasKorba/Equatable-TransactionSubmitR…
Browse files Browse the repository at this point in the history
…esult

Equatable TransactionSubmitResult
  • Loading branch information
str4d committed Mar 4, 2024
2 parents 7a263be + bdb2465 commit 67d564f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/ZcashLightClientKit/Synchronizer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 67d564f

Please sign in to comment.