Fix gen_network script to prevent network settings for client only
@@ -204,6 +204,8 @@ class TestNetworkSetup:
client_defs = cls.gen_client_defs(args.clients)
trustee_def = cls.gen_trustee_def(1)
+ if args.nodeNum:
+ # update network during node generation only
# edit NETWORK_NAME in config
for line in fileinput.input(['/etc/indy/indy_config.py'], inplace=True):
if 'NETWORK_NAME' not in line:
