1
0

modified the way the constants module is accessed

This commit is contained in:
mrmena
2022-10-30 16:03:16 +11:00
parent 7a53b2cd47
commit 6dc4b4f3b3

View File

@@ -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(),