From 15d672bfe0c21ff205e4650a91a65a62cb8baaca Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Thu, 20 Jul 2017 14:05:00 -0400 Subject: [PATCH] fix if statment for resolving certificate --- lbrynet/core/Wallet.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index 7942fd598..799ccdc53 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -796,7 +796,8 @@ class Wallet(object): elif 'value' in results: results = yield self._decode_and_cache_claim_result(results, update_caches=False) - else: + # case where there is no 'certificate', 'value', or 'claim' key + elif 'certificate' not in results: msg = 'result in unexpected format:{}'.format(results) assert False, msg