Skip to content

Commit

Permalink
Codable UnifiedAddress conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKorba committed Dec 9, 2024
1 parent 8c099e3 commit 9c239be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/ZcashLightClientKit/Constants/ZcashSDK.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public protocol ZcashNetwork {
var constants: NetworkConstants.Type { get }
}

public enum NetworkType {
public enum NetworkType: Equatable, Codable {
case mainnet
case testnet

Expand Down
2 changes: 1 addition & 1 deletion Sources/ZcashLightClientKit/Model/WalletTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public struct SaplingAddress: Equatable, StringEncoded {
}
}

public struct UnifiedAddress: Equatable, StringEncoded {
public struct UnifiedAddress: Equatable, StringEncoded, Codable {
let networkType: NetworkType

public enum ReceiverTypecodes: Hashable {
Expand Down

0 comments on commit 9c239be

Please sign in to comment.