fixed encoding issue on saving wallet

This commit is contained in:
Lex Berezhny 2018-07-12 12:32:04 -04:00 committed by Jack Robison
parent 688caf4453
commit 774d813576
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -178,7 +178,7 @@ class LbryWalletManager(BaseWalletManager):
cert, key = generate_certificate()
tx = yield Transaction.claim(channel_name.encode(), cert, amount, address, [account], account)
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
defer.returnValue(tx)