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