mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(reth): remove History variant in StageEnum (#4365)
This commit is contained in:
@ -13,8 +13,6 @@ pub enum StageEnum {
|
||||
Hashing,
|
||||
Merkle,
|
||||
TxLookup,
|
||||
// TODO: Combine or remove `History` variant.
|
||||
History,
|
||||
AccountHistory,
|
||||
StorageHistory,
|
||||
TotalDifficulty,
|
||||
|
||||
@ -135,7 +135,7 @@ impl Command {
|
||||
None,
|
||||
)?;
|
||||
}
|
||||
StageEnum::History => {
|
||||
StageEnum::AccountHistory | StageEnum::StorageHistory => {
|
||||
tx.clear::<tables::AccountHistory>()?;
|
||||
tx.clear::<tables::StorageHistory>()?;
|
||||
tx.put::<tables::SyncStage>(
|
||||
|
||||
Reference in New Issue
Block a user