diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2021-02-02 15:07:06 -0800 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2021-02-16 12:23:00 -0800 |
commit | a2d908e1daa1d1be74568bd7d1d04b724da7d79c (patch) | |
tree | a68736f6662dd5dea5b4f416db0ffca4bc951246 /src/util/time.h | |
parent | 9a3bbe8fc57d88919acd4eadbc96124711f17ec2 (diff) | |
download | bitcoin-a2d908e1daa1d1be74568bd7d1d04b724da7d79c.tar.xz |
[test] Throw error instead of segfaulting in failure scenario
If the miner code is faulty and does not include any transactions in a block,
the code segfaults when it tries to access block transactions. Instead, add a
check that safely aborts the process.
Diffstat (limited to 'src/util/time.h')
0 files changed, 0 insertions, 0 deletions