Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
william-gr committed Jan 5, 2025
1 parent 1236a81 commit fc3508c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/change_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ def main():
else:
default_node_port = 8444

config['wallet']['full_node_peer']['host'] = node_host
config['wallet']['full_node_peer']['port'] = int(os.environ.get('CHIA_NODE_PORT', default_node_port))
config['wallet']['full_node_peer'] = {
'host': node_host,
'port': int(os.environ.get('CHIA_NODE_PORT', default_node_port)),
}
else:
config['wallet'].pop('full_node_peer', None)
config['wallet']['trusted_peers'][trusted_node_id] = os.environ.get('CHIA_NODE_CRT', f'/data/chia/{chia_network}/config/ssl/full_node/public_full_node.crt')
Expand Down

0 comments on commit fc3508c

Please sign in to comment.