Equatable TransactionSubmitResult

- TransactionSubmitResult now conforms to Equatable protocol
This commit is contained in:
Lukas Korba 2024-03-04 14:24:16 +01:00
parent 7a263be3cc
commit bdb2465625
1 changed files with 1 additions and 1 deletions

View File

@ -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)