mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
parent
0294844c11
commit
6c20340338
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ class DigitalBitbox_Client():
|
|||
def dbb_generate_wallet(self):
|
||||
key = self.stretch_key(self.password)
|
||||
filename = ("Electrum-" + time.strftime("%Y-%m-%d-%H-%M-%S") + ".pdf")
|
||||
msg = ('{"seed":{"source": "create", "key": "%s", "filename": "%s", "entropy": "%s"}}' % (key, filename, 'Digital Bitbox Electrum Plugin')).encode('utf8')
|
||||
msg = ('{"seed":{"source": "create", "key": "%s", "filename": "%s", "entropy": "%s"}}' % (key, filename, to_hexstr(os.urandom(32)))).encode('utf8')
|
||||
reply = self.hid_send_encrypt(msg)
|
||||
if 'error' in reply:
|
||||
raise UserFacingException(reply['error']['message'])
|
||||
|
|
Loading…
Add table
Reference in a new issue