fix: password on creation
This commit is contained in:
3
electrum
3
electrum
@@ -173,6 +173,9 @@ if __name__ == '__main__':
|
|||||||
print "\""+' '.join(mnemonic.mn_encode(wallet.seed))+"\""
|
print "\""+' '.join(mnemonic.mn_encode(wallet.seed))+"\""
|
||||||
print "Wallet saved in '%s'"%wallet.path
|
print "Wallet saved in '%s'"%wallet.path
|
||||||
|
|
||||||
|
if password:
|
||||||
|
wallet.update_password(wallet.seed, None, password)
|
||||||
|
|
||||||
# check syntax
|
# check syntax
|
||||||
if cmd in ['payto', 'mktx']:
|
if cmd in ['payto', 'mktx']:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user