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