Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Only accept a fully valid RANDOM_CTX_SEED
This rejects if the seed is corrupt, truncated, too-long, or otherwise contains non-hex. For example, "RANDOM_CTX_SEED=z". Can be tested with: $ RANDOM_CTX_SEED=z ./src/test/test_bitcoin --log_level=all --run_test=timeoffsets_tests/timeoffsets_warning -- -printtoconsole=1 | grep RANDOM_CTX_SEED test/util/random.cpp:29 operator(): Assertion `uint256::FromHex(num)' failed. Co-authored-by: stickies-v <stickies-v@protonmail.com>
- Loading branch information