remove unsync update

pull/3442/head
Rongjian Lan 4 years ago
parent 925d2c0e95
commit e8e8e77a8a
  1. 1
      api/service/syncing/syncing.go

@ -1025,7 +1025,6 @@ func (ss *StateSync) SyncLoop(bc *core.BlockChain, worker *worker.Worker, isBeac
if err := ss.addConsensusLastMile(bc, consensus); err != nil { if err := ss.addConsensusLastMile(bc, consensus); err != nil {
utils.Logger().Error().Err(err).Msg("[SYNC] Add consensus last mile") utils.Logger().Error().Err(err).Msg("[SYNC] Add consensus last mile")
} }
consensus.SetMode(consensus.UpdateConsensusInformation())
} }
ss.purgeAllBlocksFromCache() ss.purgeAllBlocksFromCache()
} }

Loading…
Cancel
Save