schnorrSig property

  1. @override
SchnorrInputSignature? get schnorrSig
override

If this is a pushdata of a Schnorr input signature then it shall be returned, or null

Implementation

@override
SchnorrInputSignature? get schnorrSig {
  try {
    return SchnorrInputSignature.fromBytes(data);
  } on InvalidInputSignature {
    return null;
  }
}