SaplingSpendVerificationKey constructor

SaplingSpendVerificationKey(
  1. JubJubNativePoint point
)

Implementation

factory SaplingSpendVerificationKey(JubJubNativePoint point) {
  if (point.isIdentity()) {
    throw ArgumentException.invalidOperationArguments(
      "SaplingSpendVerificationKey",
      reason: "Identity point.",
    );
  }
  return SaplingSpendVerificationKey._(point);
}