Skip to content

core/rawdb: remove ReadHeadHeader#22794

Closed
aaronbuchwald wants to merge 1 commit into
ethereum:masterfrom
aaronbuchwald:remove-deadcode
Closed

core/rawdb: remove ReadHeadHeader#22794
aaronbuchwald wants to merge 1 commit into
ethereum:masterfrom
aaronbuchwald:remove-deadcode

Conversation

@aaronbuchwald
Copy link
Copy Markdown
Contributor

This PR removes dead code from core/rawdb/accessors_chain.go

@fjl fjl changed the title Remove unused read head header accessor core/rawdb: remove ReadHeadHeader May 3, 2021
@holiman
Copy link
Copy Markdown
Contributor

holiman commented May 4, 2021

Heh, while it's true that it currently is dead code, I actually have a PR which uses this: https://github.com/ethereum/go-ethereum/pull/22795/files#diff-f0fd3235d22fb95cd73f1073467ac23397e9fc949e359fccb3ad0ff278dfac5eR407 (edited to add the right line number)

Even if it weren't for that, I think it's good to have the accessors there.

@holiman
Copy link
Copy Markdown
Contributor

holiman commented May 11, 2021

Closing this since it would conflict with #22795

@holiman holiman closed this May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants