add segwit option for cmdline create

This commit is contained in:
ThomasV 2017-10-17 11:45:55 +02:00
parent fe75699d3a
commit a2048feb24

View file

@ -130,7 +130,7 @@ class Commands:
return ' '.join(sorted(known_commands.keys())) return ' '.join(sorted(known_commands.keys()))
@command('') @command('')
def create(self): def create(self, segwit=False):
"""Create a new wallet""" """Create a new wallet"""
raise BaseException('Not a JSON-RPC command') raise BaseException('Not a JSON-RPC command')