Equatable TransactionSubmitResult
- TransactionSubmitResult now conforms to Equatable protocol
This commit is contained in:
parent
7a263be3cc
commit
bdb2465625
|
@ -496,7 +496,7 @@ public enum RewindPolicy {
|
||||||
/// - grpcFailure: the transaction failed to reach the lightwalletd server.
|
/// - grpcFailure: the transaction failed to reach the lightwalletd server.
|
||||||
/// - submitFailure: the transaction reached the lightwalletd server but failed to enter the mempool.
|
/// - 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.
|
/// - 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 success(txId: Data)
|
||||||
case grpcFailure(txId: Data, error: LightWalletServiceError)
|
case grpcFailure(txId: Data, error: LightWalletServiceError)
|
||||||
case submitFailure(txId: Data, code: Int, description: String)
|
case submitFailure(txId: Data, code: Int, description: String)
|
||||||
|
|
Loading…
Reference in New Issue