Skip to content

Commit

Permalink
moving printed output inside of if to know if the command runs
Browse files Browse the repository at this point in the history
  • Loading branch information
justinengland committed May 18, 2021
1 parent 576bc01 commit f9cf76e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions chia/cmds/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def configure(
config["ui"]["selected_network"] = testnet
config["introducer"]["selected_network"] = testnet
config["wallet"]["selected_network"] = testnet
print("Default full node port, introducer and network setting updated")
change_made = True
elif testnet == 'false' or 'f' or 'False':
mainnet_port = "8444"
mainnet_introducer = "introducer.chia.net"
Expand All @@ -115,8 +117,8 @@ def configure(
config["ui"]["selected_network"] = net
config["introducer"]["selected_network"] = net
config["wallet"]["selected_network"] = net
print("Default full node port, introducer and network setting updated")
change_made = True
print("Default full node port, introducer and network setting updated")
change_made = True
if change_made:
print("Restart any running chia services for changes to take effect")
save_config(root_path, "config.yaml", config)
Expand Down

0 comments on commit f9cf76e

Please sign in to comment.