toVerificationKey method

  1. @override
SaplingSpendVerificationKey toVerificationKey()
override

Converts to the corresponding verification key.

Implementation

@override
SaplingSpendVerificationKey toVerificationKey() {
  return _vk ??= () {
    final mul = generator() * inner;
    return SaplingSpendVerificationKey(
      JubJubNativePoint.fromBytes(mul.toBytes()),
    );
  }();
}