Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/del headers #134

Merged
merged 10 commits into from
Nov 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
modify slice length
  • Loading branch information
lbtsm committed Nov 2, 2022
commit 770956ae277fc5c68cee133641a7a05f5882c325
2 changes: 1 addition & 1 deletion chains/ethereum/header_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func decodeHeader(data []byte, hash common.Hash) *Header {

func NewHeaderStore() *HeaderStore {
return &HeaderStore{
CanonicalNumberToHash: make([]common.Hash, MaxHeaderLimit),
CanonicalNumberToHash: make([]common.Hash, 0),
}
}

Expand Down