File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 '\n You 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 )
You can’t perform that action at this time.
0 commit comments