change exit number

pull/746/head
Rongjian Lan 6 years ago
parent 0744fb82aa
commit 59f6ff970e
  1. 2
      node/node_handler.go

@ -645,7 +645,7 @@ func (node *Node) processEpochShardState(epochShardState *types.EpochShardState)
}
} else {
utils.GetLogInstance().Info(fmt.Sprintf("[Resharded][epoch:%d] Somehow I got kicked out. Exiting", epoch), "BlsPubKey", hex.EncodeToString(myBlsPubKey))
os.Exit(0)
os.Exit(8) // 8 represents it's a loop and the program restart itself
}
}

Loading…
Cancel
Save