+
+ //This code is used to preventing the sync peer return a dust block which will not change the node's chain status
+ if bestHeight = bk.chain.BestBlockHeight(); i == bestHeight+1 {
+ log.WithFields(log.Fields{"module": logModule, "height": i}).Warn("stop regular sync due to loop sync same height")
+ return nil
+ }
+
+ i = bestHeight + 1