1
0

commands: change API of "make_seed" and "create" commands

instead of "segwit" boolean, take a "seed_type" optional arg
default seed_type to "segwit"
previously these commands created legacy seeds by defalt
This commit is contained in:
SomberNight
2019-08-09 22:02:01 +02:00
parent 0ec9f79402
commit 1c75d939d9
6 changed files with 11 additions and 11 deletions

View File

@@ -19,3 +19,4 @@ def seed_prefix(seed_type):
return SEED_PREFIX_2FA
elif seed_type == '2fa_segwit':
return SEED_PREFIX_2FA_SW
raise Exception(f"unknown seed_type: {seed_type}")