mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fix #3011
This commit is contained in:
parent
5480b7dff5
commit
b1cc81a6f6
2 changed files with 2 additions and 3 deletions
|
@ -105,7 +105,7 @@ class Software_KeyStore(KeyStore):
|
|||
# Add private keys
|
||||
keypairs = self.get_tx_derivations(tx)
|
||||
for k, v in keypairs.items():
|
||||
keypairs[k] = self.get_private_key(v, password)[0]
|
||||
keypairs[k] = self.get_private_key(v, password)
|
||||
# Sign
|
||||
if keypairs:
|
||||
tx.sign(keypairs)
|
||||
|
|
|
@ -883,8 +883,7 @@ class Transaction:
|
|||
break
|
||||
if x_pubkey in keypairs.keys():
|
||||
print_error("adding signature for", x_pubkey)
|
||||
sec = keypairs.get(x_pubkey)
|
||||
compressed = True
|
||||
sec, compressed = keypairs.get(x_pubkey)
|
||||
pubkey = public_key_from_private_key(sec, compressed)
|
||||
# add signature
|
||||
pre_hash = Hash(bfh(self.serialize_preimage(i)))
|
||||
|
|
Loading…
Add table
Reference in a new issue