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 {
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue