Merge pull request #1397 from Electric-Coin-Company/orchard-fixes
Orchard implementation fixes
This commit is contained in:
commit
c3e6201bcd
|
@ -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