diff options
author | Andrew Toth <andrewstoth@gmail.com> | 2024-05-04 15:38:39 -0400 |
---|---|---|
committer | Andrew Toth <andrewstoth@gmail.com> | 2024-05-04 15:38:39 -0400 |
commit | 75d27fefc7a04ebdda7be5724a014b6a896e7325 (patch) | |
tree | 559533a1206390e378248235446040ff70707707 /test/functional/wallet_timelock.py | |
parent | 613a45cd4b5482aedbdc7c61c839ea05996935c6 (diff) |
net: reduce LOCK(cs_main) scope in ProcessGetBlockData
This also changes behavior if ReadBlockFromDisk or
ReadRawBlockFromDisk fails. Previously, the node would crash
due to an assert. This has been replaced with logging the error,
disconnecting the peer, and returning early.
Diffstat (limited to 'test/functional/wallet_timelock.py')
0 files changed, 0 insertions, 0 deletions