diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-03-17 14:27:37 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-03-17 14:27:42 -0400 |
commit | 39497d1f3268d3aa75a41d07a5a5442a463265c6 (patch) | |
tree | 3df17d6889fedf23c4f144890d12abf8d7fac86f /src/init.cpp | |
parent | ad04f0d8a533861237b0ed882a417ec6dbe2107f (diff) | |
parent | ec30a79f1c430cc7fbda37e5d747b0b31b262fa5 (diff) |
Merge #15283: log: Fix UB with bench on genesis block
ec30a79f1c430cc7fbda37e5d747b0b31b262fa5 Fix UB with bench on genesis block (Gregory Sanders)
Pull request description:
During the loading of the genesis block, the bench print lines in ConnectTip divide by zero due to early return in ConnectBlock.
ACKs for top commit:
practicalswift:
ACK ec30a79f1c430cc7fbda37e5d747b0b31b262fa5
sipa:
utACK ec30a79f1c430cc7fbda37e5d747b0b31b262fa5
promag:
ACK ec30a79, `nBlocksTotal` is only used in logging.
Tree-SHA512: b3bdbb58d10d002a2293d7f99196b227ed9f4ca8c6cd08981e95cc964be47efed98b91fad276ee6da5cf7e6684610998ace7ce9bace172dd6c51c386d985b83c
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions