Commit d6c7d44
Do not add already imported headers to the
Currently, we does not need this code because the verification queue
always give ordered headers. However, following commits will call
import_headers when blocks are verified. In this case, some headers
are imported twice, so we should check whether the header is imported
or not.imported in the chain_notify's new_headers1 parent f1f315c commit d6c7d44
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
399 | | - | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
400 | 402 | | |
401 | 403 | | |
402 | 404 | | |
| |||
0 commit comments