Commit 49cdcf5
authored
core: reset to genesis when middle block is missing (ethereum#22135)
When a sethead/rewind finds that the targeted block is missing, it resets to genesis instead of crashing. Closes ethereum#221291 parent 04a7226 commit 49cdcf5
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
524 | 524 | | |
525 | 525 | | |
526 | 526 | | |
527 | | - | |
528 | | - | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
| |||
0 commit comments