diff --git a/cmd/harmony/main.go b/cmd/harmony/main.go index 164b9aaf8..a20f1dae7 100644 --- a/cmd/harmony/main.go +++ b/cmd/harmony/main.go @@ -303,13 +303,6 @@ func setUpConsensusAndNode(nodeConfig *nodeconfig.ConfigType) *node.Node { utils.GetLogInstance().Info("node account set", "address", common.MustAddressToBech32(currentNode.StakingAccount.Address)) - if gsif, err := consensus.NewGenesisStakeInfoFinder(); err == nil { - currentConsensus.SetStakeInfoFinder(gsif) - } else { - _, _ = fmt.Fprintf(os.Stderr, "Cannot initialize stake info: %v\n", err) - os.Exit(1) - } - // TODO: refactor the creation of blockchain out of node.New() currentConsensus.ChainReader = currentNode.Blockchain()