1
0

add 'unsigned' option

This commit is contained in:
ThomasV
2015-05-31 17:38:57 +02:00
parent ee20910c65
commit c4d822b0cf
2 changed files with 25 additions and 11 deletions

View File

@@ -183,6 +183,13 @@ def run_cmdline(config):
cmd.requires_wallet = False
cmd.requires_password = False
if cmdname in ['mktx', 'mktx_csv'] and config.get('unsigned'):
cmd.requires_password = False
if cmdname in ['createrawtx'] and config.get('unsigned'):
cmd.requires_password = False
cmd.requires_wallet = False
# arguments passed to function
args = map(lambda x: config.get(x), cmd.params)
# options