Add missing `ZcashTransaction.Output.Pool.orchard` case

This commit is contained in:
Jack Grigg 2024-03-26 08:24:00 -04:00
parent 43534d26d9
commit fa4def9f29
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public enum ZcashTransaction {
public enum Pool {
case transaparent
case sapling
case orchard
case other(Int)
init(rawValue: Int) {
switch rawValue {
@ -72,6 +73,8 @@ public enum ZcashTransaction {
self = .transaparent
case 2:
self = .sapling
case 3:
self = .orchard
default:
self = .other(rawValue)
}