> The RandomOrphan function and the function ecdsa_signature_parse_der_lax
> in pubkey.cpp were causing non-deterministic test coverage.
>
> Force seed in the beginning of the test to make it deterministic.
> The seed is selected carefully so that all branches of the function
> ecdsa_signature_parse_der_lax are executed. Prior to this fix, the test
> was exhibiting non-deterministic coverage since none of the ECDSA
> signatures that were generated during the test had leading zeroes in
> either R, S, or both, resulting in some branches of said function not
> being executed. The seed ensures that both conditions are hit.
>
This is a backport of [[https://github.com/bitcoin/bitcoin/pull/16878 | core#16878]]