rename decodetx and sendtx commands. merge mktx and payto commands.
This commit is contained in:
5
electrum
5
electrum
@@ -184,9 +184,12 @@ def run_cmdline(config):
|
||||
cmd.requires_wallet = False
|
||||
cmd.requires_password = False
|
||||
|
||||
if cmdname in ['mktx', 'mktx_csv'] and config.get('unsigned'):
|
||||
if cmdname in ['payto', 'paytomany'] and config.get('unsigned'):
|
||||
cmd.requires_password = False
|
||||
|
||||
if cmdname in ['payto', 'paytomany'] and config.get('broadcast'):
|
||||
cmd.requires_network = True
|
||||
|
||||
if cmdname in ['createrawtx'] and config.get('unsigned'):
|
||||
cmd.requires_password = False
|
||||
cmd.requires_wallet = False
|
||||
|
||||
Reference in New Issue
Block a user