CodeChain-io / CodeChain-io/codechain

Invalid header update state

Open
#1,831 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
256
Forks
50
PR merge metrics
No merged PRs in 30d

Description

I found an error log that should not be printed.

```
block-propagation.ext sync Invalid header update state. best_hash: 0x7f06…2d5c, self.pivot.hash: 0x5abf…e26b, first_header_hash: 0xa959…1e89

Block #1858670
0x7f067a2e678cb72261061e6ead4cc046dc18ac46f2b166c8ab02a49b74e92d5c

Block #1858664
0x5abfd2cf53b54bfc8bc87f38e57e2c7e4706befc71288ae0bea08bff0652e26b

Block #1858665
0xa959bc71c9b505221d2dfdb4094e470a98061e346818742cd8a4fa593e8b1e89
```
https://github.com/CodeChain-io/codechain/blob/8c6effa2241daf1c562bf46474ab69304c50e3ab/sync/src/block/downloader/header.rs#L182

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.