The state service was providing block locators starting at the parent of the current tip. Instead, include the current tip in the block locator. Also handle an edge case where we could include the genesis block twice, if the current tip height was a power of two. Fixes an instance of #818 where we re-download the current tip. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||