Add missing `ZcashTransaction.Output.Pool.orchard` case
This commit is contained in:
parent
43534d26d9
commit
fa4def9f29
|
@ -65,6 +65,7 @@ public enum ZcashTransaction {
|
||||||
public enum Pool {
|
public enum Pool {
|
||||||
case transaparent
|
case transaparent
|
||||||
case sapling
|
case sapling
|
||||||
|
case orchard
|
||||||
case other(Int)
|
case other(Int)
|
||||||
init(rawValue: Int) {
|
init(rawValue: Int) {
|
||||||
switch rawValue {
|
switch rawValue {
|
||||||
|
@ -72,6 +73,8 @@ public enum ZcashTransaction {
|
||||||
self = .transaparent
|
self = .transaparent
|
||||||
case 2:
|
case 2:
|
||||||
self = .sapling
|
self = .sapling
|
||||||
|
case 3:
|
||||||
|
self = .orchard
|
||||||
default:
|
default:
|
||||||
self = .other(rawValue)
|
self = .other(rawValue)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue