Disable reorg rejection until LIB update handles reorg correctly
@@ -141,6 +141,9 @@ func blockBP(block *types.Block) string {
// NeedReorganization reports whether reorganization is needed or not.
func (s *Status) NeedReorganization(rootNo, bestNo types.BlockNo) bool {
+ return true
+ // Disable until the reorganization logic is correctly implmented.
+ /*
s.RLock()
defer s.RUnlock()
@@ -161,4 +164,5 @@ func (s *Status) NeedReorganization(rootNo, bestNo types.BlockNo) bool {
}
return reorganizable
+ */
}
