getOrchard method

Returns the Orchard component of the UIVK, or throws if missing.

Implementation

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