Commit b42e72c
committed
fix(validation): handle zero parent hash for first block after genesis
- Added a check in the validation function to accept a zero parent hash, indicating the first block after genesis.
- This change improves the handling of block validation during the initial block production phase.1 parent aeda9f6 commit b42e72c
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
100 | 106 | | |
101 | 107 | | |
102 | 108 | | |
| |||
0 commit comments