Skip to content

Commit 4aaafed

Browse files
committed
PR review
1 parent 984a506 commit 4aaafed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

raiden/ui/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,8 @@ def run_app(
701701
if node_numeric_network_id != given_numeric_network_id:
702702
if known_given_network_id and known_node_network_id:
703703
click.secho(
704-
f"The chosen ethereum network '{ID_TO_NETWORKNAME[given_network_id]}' "
705-
f"differs from the ethereum client '{ID_TO_NETWORKNAME[node_network_id]}'. "
704+
f"The chosen ethereum network '{given_network_id.name.lower()}' "
705+
f"differs from the ethereum client '{node_network_id.name.lower()}'. "
706706
"Please update your settings.",
707707
fg='red',
708708
)
@@ -761,7 +761,7 @@ def run_app(
761761
if not contract_addresses_given and not contract_addresses_known:
762762
click.secho(
763763
f"There are no known contract addresses for network id '{given_numeric_network_id}'. "
764-
"Please provide them in the command line or in the configuration file.",
764+
"Please provide them on the command line or in the configuration file.",
765765
fg='red',
766766
)
767767
sys.exit(1)
@@ -799,7 +799,7 @@ def run_app(
799799

800800
print(
801801
'\nYou are connected to the \'{}\' network and the DB path is: {}'.format(
802-
ID_TO_NETWORKNAME.get(given_network_id) or given_numeric_network_id,
802+
ID_TO_NETWORKNAME.get(given_network_id, given_numeric_network_id),
803803
database_path,
804804
),
805805
)

0 commit comments

Comments
 (0)