From 774d813576b4cdb62e98a3d0e7423e83e56943e5 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 12 Jul 2018 12:32:04 -0400 Subject: [PATCH] fixed encoding issue on saving wallet --- lbrynet/wallet/manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/wallet/manager.py b/lbrynet/wallet/manager.py index e60454f35..e9499c4c6 100644 --- a/lbrynet/wallet/manager.py +++ b/lbrynet/wallet/manager.py @@ -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)