mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
commands: fix typo
rename "sec" to "privkey"
This commit is contained in:
parent
9c06bee8c7
commit
daee02e22d
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ class Commands:
|
||||||
t = Transaction(tx)
|
t = Transaction(tx)
|
||||||
t.deserialize()
|
t.deserialize()
|
||||||
if privkey:
|
if privkey:
|
||||||
pubkey = bitcoin.public_key_from_private_key(sec)
|
pubkey = bitcoin.public_key_from_private_key(privkey)
|
||||||
t.sign({pubkey:sec})
|
t.sign({pubkey:privkey})
|
||||||
else:
|
else:
|
||||||
self.wallet.sign_transaction(t, self.password)
|
self.wallet.sign_transaction(t, self.password)
|
||||||
return t
|
return t
|
||||||
|
|
Loading…
Add table
Reference in a new issue