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

core/rawdb: simple legacy receipt converter #24028

Merged
merged 10 commits into from Mar 23, 2022
2 changes: 1 addition & 1 deletion cmd/geth/config.go
Expand Up @@ -167,7 +167,7 @@ func makeFullNode(ctx *cli.Context) (*node.Node, ethapi.Backend) {
firstIdx := uint64(0)
// Hack to speed up check for mainnet because we know
// the first non-empty block.
if ctx.GlobalIsSet(utils.MainnetFlag.Name) {
if cfg.Eth.NetworkId == 1 {
s1na marked this conversation as resolved.
Show resolved Hide resolved
firstIdx = 46147
}
isLegacy, _, err := dbHasLegacyReceipts(eth.ChainDb(), firstIdx)
Expand Down