modified the way the constants module is accessed
This commit is contained in:
@@ -204,7 +204,7 @@ class Commands:
|
||||
""" network info """
|
||||
net_params = self.network.get_parameters()
|
||||
response = {
|
||||
'network': globals()['constants'].net.NET_NAME,
|
||||
'network': constants.net.NET_NAME,
|
||||
'path': self.network.config.path,
|
||||
'server': net_params.server.host,
|
||||
'blockchain_height': self.network.get_local_height(),
|
||||
|
||||
Reference in New Issue
Block a user