Merge pull request #1106 from LeoHChen/revert_2nd_call_removal

Revert 2nd call removal
pull/1110/head
Leo Chen 6 years ago committed by GitHub
commit 226c8b8b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      cmd/harmony/main.go

@ -225,6 +225,9 @@ func createGlobalConfig() *nodeconfig.ConfigType {
// The initial genesis nodes are sequentially put into genesis shards based on their accountIndex
nodeConfig.ShardID = uint32(genesisAccount.ShardID)
// Set up consensus keys.
setUpConsensusKeyAndReturnIndex(nodeConfig)
// P2p private key is used for secure message transfer between p2p nodes.
nodeConfig.P2pPriKey, _, err = utils.LoadKeyFromFile(*keyFile)
if err != nil {

Loading…
Cancel
Save