File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 39
39
print_error ,
40
40
)
41
41
from typing_extensions import Annotated
42
+ from textwrap import dedent
42
43
from websockets import ConnectionClosed
43
44
from yaml import safe_dump , safe_load
44
45
@@ -1005,17 +1006,23 @@ def get_config(self):
1005
1006
)
1006
1007
1007
1008
for key , value in self .config .items ():
1009
+ if key == "network" and value is None :
1010
+ value = "None (default = finney)"
1008
1011
if isinstance (value , dict ):
1009
- if key == "network" and value is None :
1010
- value = "None (default = finney)"
1011
-
1012
1012
# Nested dictionaries: only metagraph for now, but more may be added later
1013
1013
for idx , (sub_key , sub_value ) in enumerate (value .items ()):
1014
1014
table .add_row (key if idx == 0 else "" , str (sub_key ), str (sub_value ))
1015
1015
else :
1016
1016
table .add_row (str (key ), str (value ), "" )
1017
1017
1018
1018
console .print (table )
1019
+ console .print (
1020
+ dedent (
1021
+ """
1022
+ Note: The chain endpoint will take precedence over network.
1023
+ """
1024
+ )
1025
+ )
1019
1026
1020
1027
def wallet_ask (
1021
1028
self ,
You can’t perform that action at this time.
0 commit comments