Only process shard state if non-beacon node

pull/693/head
Rongjian Lan 6 years ago
parent 73d863cf63
commit 22d605a2fc
  1. 4
      node/node_handler.go

@ -541,7 +541,9 @@ func (node *Node) epochShardStateMessageHandler(msgPayload []byte) int {
utils.GetLogInstance().Error("Can't get shard state Message", "error", err)
return -1
}
node.processEpochShardState(epochShardState)
if node.Consensus.ShardID != 0 {
node.processEpochShardState(epochShardState)
}
return 0
}

Loading…
Cancel
Save