[misc] disable DRand public key update

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1164/head
Leo Chen 5 years ago
parent 70accfe634
commit 40e128ceda
  1. 2
      node/node_handler.go

@ -819,7 +819,7 @@ func (node *Node) transitionIntoNextEpoch(shardState types.ShardState) {
publicKeys = append(publicKeys, key)
}
node.Consensus.UpdatePublicKeys(publicKeys)
node.DRand.UpdatePublicKeys(publicKeys)
// node.DRand.UpdatePublicKeys(publicKeys)
if node.Blockchain().ShardID() == myShardID {
getLogger().Info("staying in the same shard")

Loading…
Cancel
Save