mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-16 16:26:34 +02:00
If the added block exceeds the blockfile size in test-only -fastprune mode, the node would get stuck in an infinite loop and run out of memory. Avoid this by raising the blockfile size to the size of the added block in this situation. Co-authored-by: TheCharlatan <seb.kung@gmail.com>