fixing a deadlock situation where half of the voting power is not in the network

This commit is contained in:
lolollo
2025-10-04 15:38:49 +01:00
parent 272214441e
commit b3a35f20f6

View File

@@ -437,6 +437,10 @@ public class WebServiceEndpoints
return "Current validator node not found in Status contract";
}
validatorNode = validatorNodeOptional.get();
if(!ValidatorNode.validateConnectionString(validatorNode.getConnectionString()))
{
return "Invalid connection string";
}
if(validatorNode.getAddress() == null)
{
Map<Integer,Integer> address = new HashMap<Integer,Integer>();