mirror of
https://github.com/LBRYFoundation/lbry-sdk.git
synced 2025-08-31 17:31:29 +00:00
fixed encoding issue on saving wallet
This commit is contained in:
parent
688caf4453
commit
774d813576
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class LbryWalletManager(BaseWalletManager):
|
||||||
cert, key = generate_certificate()
|
cert, key = generate_certificate()
|
||||||
tx = yield Transaction.claim(channel_name.encode(), cert, amount, address, [account], account)
|
tx = yield Transaction.claim(channel_name.encode(), cert, amount, address, [account], account)
|
||||||
yield account.ledger.broadcast(tx)
|
yield account.ledger.broadcast(tx)
|
||||||
account.add_certificate(tx, 0, tx.get_claim_id(0), channel_name, key)
|
account.add_certificate_private_key(tx, 0, key.decode())
|
||||||
# TODO: release reserved tx outputs in case anything fails by this point
|
# TODO: release reserved tx outputs in case anything fails by this point
|
||||||
defer.returnValue(tx)
|
defer.returnValue(tx)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue