|
|
@ -541,7 +541,7 @@ 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 |
|
|
|
} |
|
|
|
} |
|
|
|
if node.Consensus.ShardID != 0 { |
|
|
|
if node.Consensus != nil && node.Consensus.ShardID != 0 { |
|
|
|
node.processEpochShardState(epochShardState) |
|
|
|
node.processEpochShardState(epochShardState) |
|
|
|
} |
|
|
|
} |
|
|
|
return 0 |
|
|
|
return 0 |
|
|
|