From 56e2d77039fb87662c5b8fece6e618016989189e Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 29 Aug 2016 13:44:18 -0400 Subject: [PATCH] fix _send_name_claim json --- lbrynet/core/LBRYWallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/core/LBRYWallet.py b/lbrynet/core/LBRYWallet.py index 53a7a961e..96b6e6d48 100644 --- a/lbrynet/core/LBRYWallet.py +++ b/lbrynet/core/LBRYWallet.py @@ -431,10 +431,10 @@ class LBRYWallet(object): def _claim_or_update(claim, metadata, _bid): if not claim: log.info("No claim yet, making a new one") - return self._send_name_claim(name, metadata.as_json(), _bid) + return self._send_name_claim(name, json.dumps(metadata), _bid) if not claim['is_mine']: log.info("Making a contesting claim") - return self._send_name_claim(name, metadata.as_json(), _bid) + return self._send_name_claim(name, json.dump(metadata), _bid) else: log.info("Updating over own claim") d = self.update_metadata(metadata, claim['value'])