Check that recovery id is 0, 1, 2 or 3
Check that recovery id is 0, 1, 2 or 3

Otherwise we get an uncaught exception which
results in program abortion:

[libsecp256k1] illegal argument: recid >= 0 && recid <= 3

dakk/secp256k1-ml