File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -254,6 +254,7 @@ def get_address(
254254@click .option ("-e" , "--curve" )
255255@click .option ("-t" , "--script-type" , type = ChoiceType (INPUT_SCRIPTS ))
256256@click .option ("-d" , "--show-display" , is_flag = True )
257+ @click .option ("-i" , "--ignore-xpub-magic" , is_flag = True )
257258@with_session
258259def get_public_node (
259260 session : "Session" ,
@@ -262,6 +263,7 @@ def get_public_node(
262263 curve : Optional [str ],
263264 script_type : Optional [messages .InputScriptType ],
264265 show_display : bool ,
266+ ignore_xpub_magic : bool ,
265267) -> dict :
266268 """Get public node of given path."""
267269 address_n = tools .parse_path (address )
@@ -275,6 +277,7 @@ def get_public_node(
275277 coin_name = coin ,
276278 script_type = script_type ,
277279 unlock_path = get_unlock_path (address_n ),
280+ ignore_xpub_magic = ignore_xpub_magic ,
278281 )
279282 return {
280283 "node" : {
You can’t perform that action at this time.
0 commit comments