fix: password on creation
This commit is contained in:
3
electrum
3
electrum
@@ -172,6 +172,9 @@ if __name__ == '__main__':
|
|||||||
print "Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:"
|
print "Equivalently, your wallet seed can be stored and recovered with the following mnemonic code:"
|
||||||
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']:
|
||||||
|
|||||||
Reference in New Issue
Block a user