fixed vanity not working and added integration test for it
This commit is contained in:
parent
6b5e6a9ad0
commit
34a55f63f9
5 changed files with 49 additions and 3 deletions
|
@ -148,7 +148,7 @@ def add_vanity():
|
|||
else:
|
||||
b32_pub = unpaddedbase32.b32encode(vanity[0])
|
||||
tell('Found vanity address:\n' +
|
||||
niceware.bytes_to_passphrase(vanity[0]))
|
||||
'-'.join(niceware.bytes_to_passphrase(vanity[0])))
|
||||
tell('Base32 Public key: %s' % (b32_pub.decode(),))
|
||||
key_manager.addKey(b32_pub, unpaddedbase32.b32encode(vanity[1]))
|
||||
except KeyboardInterrupt:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue