pull/1019/head
Rongjian Lan 5 years ago
parent dc53fcfd4b
commit 65b2d1d81c
  1. 2
      cmd/harmony/main.go

@ -263,7 +263,7 @@ func createGlobalConfig() *nodeconfig.ConfigType {
// Consensus keys are the BLS12-381 keys used to sign consensus messages
nodeConfig.ConsensusPriKey, nodeConfig.ConsensusPubKey = consensusPriKey, consensusPriKey.GetPublicKey()
if nodeConfig.ConsensusPriKey == nil || nodeConfig.ConsensusPubKey == nil {
panic(fmt.Errorf("Failed to initialize BLS keys: %s", consensusPriKey))
panic(fmt.Errorf("Failed to initialize BLS keys: %s", consensusPriKey.SerializeToHexStr()))
}
// Key Setup ================= [End]

Loading…
Cancel
Save