File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -633,12 +633,6 @@ func (w *worker) handleForks(parent *types.Block) (bool, error) {
633633 return true , nil
634634 }
635635
636- // Stop/start miner at Euclid fork boundary on zktrie/mpt nodes
637- if w .chainConfig .IsEuclid (w .current .header .Time ) {
638- parent := w .chain .GetBlockByHash (w .current .header .ParentHash )
639- return parent != nil && ! w .chainConfig .IsEuclid (parent .Time ()), nil
640- }
641-
642636 // Apply Feynman hard fork
643637 if w .chainConfig .IsFeynmanTransitionBlock (w .current .header .Time , parent .Time ()) {
644638 misc .ApplyFeynmanHardFork (w .current .state )
@@ -651,6 +645,12 @@ func (w *worker) handleForks(parent *types.Block) (bool, error) {
651645 core .ProcessParentBlockHash (w .current .header .ParentHash , vmenv , w .current .state )
652646 }
653647
648+ // Stop/start miner at Euclid fork boundary on zktrie/mpt nodes
649+ if w .chainConfig .IsEuclid (w .current .header .Time ) {
650+ parent := w .chain .GetBlockByHash (w .current .header .ParentHash )
651+ return parent != nil && ! w .chainConfig .IsEuclid (parent .Time ()), nil
652+ }
653+
654654 return false , nil
655655}
656656
You can’t perform that action at this time.
0 commit comments