Merge pull request #1397 from Electric-Coin-Company/orchard-fixes

Orchard implementation fixes
This commit is contained in:
Lukas Korba 2024-03-26 17:54:02 +01:00 committed by GitHub
commit c3e6201bcd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)
}