checkHashTypeNotSchnorr static method
Implementation
static SigHashType checkHashTypeNotSchnorr(SigHashType type) {
if (type.schnorrDefault) {
throw CannotSignInput(
"Cannot sign a legacy input with a default Schnorr hash type",
);
}
return type;
}