File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -174,16 +174,3 @@ func UpdateUncleanShutdownMarker(db ethdb.KeyValueStore) {
174174 log .Warn ("Failed to write unclean-shutdown marker" , "err" , err )
175175 }
176176}
177-
178- // ReadTransitionStatus retrieves the eth2 transition status from the database
179- func ReadTransitionStatus (db ethdb.KeyValueReader ) []byte {
180- data , _ := db .Get (transitionStatusKey )
181- return data
182- }
183-
184- // WriteTransitionStatus stores the eth2 transition status to the database
185- func WriteTransitionStatus (db ethdb.KeyValueWriter , data []byte ) {
186- if err := db .Put (transitionStatusKey , data ); err != nil {
187- log .Crit ("Failed to store the eth2 transition status" , "err" , err )
188- }
189- }
Original file line number Diff line number Diff line change 9595 uncleanShutdownKey = []byte ("unclean-shutdown" ) // config prefix for the db
9696
9797 // transitionStatusKey tracks the eth2 transition status.
98- transitionStatusKey = []byte ("eth2-transition" )
98+ transitionStatusKey = []byte ("eth2-transition" ) // deprecated
9999
100100 // snapSyncStatusFlagKey flags that status of snap sync.
101101 snapSyncStatusFlagKey = []byte ("SnapSyncStatus" )
You can’t perform that action at this time.
0 commit comments