From fa4def9f29bef717b1c964e19798a5c06c991eee Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Tue, 26 Mar 2024 08:24:00 -0400 Subject: [PATCH] Add missing `ZcashTransaction.Output.Pool.orchard` case --- Sources/ZcashLightClientKit/Entity/TransactionEntity.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/ZcashLightClientKit/Entity/TransactionEntity.swift b/Sources/ZcashLightClientKit/Entity/TransactionEntity.swift index 245cada3..2a2189b5 100644 --- a/Sources/ZcashLightClientKit/Entity/TransactionEntity.swift +++ b/Sources/ZcashLightClientKit/Entity/TransactionEntity.swift @@ -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) }