mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 09:37:31 +00:00
ecc.ECPubkey: also accept bytearray in __init__
This commit is contained in:
parent
1a18e70d92
commit
a1e23ac46f
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class Ledger_Client(HardwareClientBase):
|
|||
publicKey = compress_public_key(nodeData['publicKey'])
|
||||
depth = len(bip32_intpath)
|
||||
return BIP32Node(xtype=xtype,
|
||||
eckey=ecc.ECPubkey(publicKey),
|
||||
eckey=ecc.ECPubkey(bytes(publicKey)),
|
||||
chaincode=nodeData['chainCode'],
|
||||
depth=depth,
|
||||
fingerprint=fingerprint_bytes,
|
||||
|
|
Loading…
Add table
Reference in a new issue