use correct env variable for setting SPV hostname

This commit is contained in:
Lex Berezhny 2019-01-16 13:05:23 -05:00
parent 09b77972d9
commit a53b60fca4

View file

@ -201,7 +201,7 @@ class SPVNode:
'DB_DIRECTORY': self.data_path, 'DB_DIRECTORY': self.data_path,
'DAEMON_URL': blockchain_node.rpc_url, 'DAEMON_URL': blockchain_node.rpc_url,
'REORG_LIMIT': '100', 'REORG_LIMIT': '100',
'TCP_HOST': self.hostname, 'HOST': self.hostname,
'TCP_PORT': str(self.port) 'TCP_PORT': str(self.port)
} }
# TODO: don't use os.environ # TODO: don't use os.environ