|
|
@ -149,10 +149,10 @@ class Commands: |
|
|
|
return True |
|
|
|
|
|
|
|
@command('') |
|
|
|
def make_seed(self, nbits=128, entropy=1, language=None): |
|
|
|
def make_seed(self, nbits=132, entropy=1, language=None): |
|
|
|
"""Create a seed""" |
|
|
|
from mnemonic import Mnemonic |
|
|
|
s = Mnemonic(language).make_seed(nbits, custom_entropy=entropy) |
|
|
|
s = Mnemonic(language).make_seed('standard', nbits, custom_entropy=entropy) |
|
|
|
return s.encode('utf8') |
|
|
|
|
|
|
|
@command('') |
|
|
|