verify method

  1. @override
bool verify(
  1. List<int> message,
  2. List<int> signature
)
override

Verifies the signature for the provided digest using the available key.

This method verifies the signature of the provided message using either schnorrkel algorithms,

Implementation

@override
bool verify(List<int> message, List<int> signature) {
  return verifyScript(
      signature, _SubstrateSr25519SignerUtils.signingContext(message));
}