getOrchard method

OrchardFullViewingKey getOrchard()

Returns the Orchard component of this UFVK, or throws if missing.

Implementation

OrchardFullViewingKey getOrchard() {
  final orchard = this.orchard;
  if (orchard == null) {
    throw ZCashKeyError("Orchard key missing.");
  }
  return orchard;
}