mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
parent
b7c2820951
commit
54d2fa0e7d
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ class Commands:
|
|||
@command('wp')
|
||||
async def signtransaction(self, tx, privkey=None, password=None, wallet: Abstract_Wallet = None):
|
||||
"""Sign a transaction. The wallet keys will be used unless a private key is provided."""
|
||||
tx = PartialTransaction(tx)
|
||||
tx = tx_from_any(tx)
|
||||
if privkey:
|
||||
txin_type, privkey2, compressed = bitcoin.deserialize_privkey(privkey)
|
||||
pubkey = ecc.ECPrivkey(privkey2).get_public_key_bytes(compressed=compressed).hex()
|
||||
|
|
Loading…
Add table
Reference in a new issue