aboutsummaryrefslogtreecommitdiff
path: root/src/logging.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2021-02-02 15:07:06 -0800
committerAmiti Uttarwar <amiti@uttarwar.org>2021-02-16 12:23:00 -0800
commita2d908e1daa1d1be74568bd7d1d04b724da7d79c (patch)
treea68736f6662dd5dea5b4f416db0ffca4bc951246 /src/logging.cpp
parent9a3bbe8fc57d88919acd4eadbc96124711f17ec2 (diff)
downloadbitcoin-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/logging.cpp')
0 files changed, 0 insertions, 0 deletions