forked from LBRYCommunity/lbry-sdk
fix if statment for resolving certificate
This commit is contained in:
parent
32a9e1c4bd
commit
15d672bfe0
1 changed files with 2 additions and 1 deletions
|
@ -796,7 +796,8 @@ class Wallet(object):
|
||||||
elif 'value' in results:
|
elif 'value' in results:
|
||||||
results = yield self._decode_and_cache_claim_result(results, update_caches=False)
|
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)
|
msg = 'result in unexpected format:{}'.format(results)
|
||||||
assert False, msg
|
assert False, msg
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue