fixing a deadlock situation where half of the voting power is not in the network
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user