remove some unused code

This commit is contained in:
Jack Robison 2018-02-28 14:49:33 -05:00
parent 1958327796
commit 35426c7350
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -410,12 +410,6 @@ class Wallet(object):
batch_results = yield self._get_values_for_uris(page, page_size, *uris) batch_results = yield self._get_values_for_uris(page, page_size, *uris)
for uri, resolve_results in batch_results.iteritems(): for uri, resolve_results in batch_results.iteritems():
claim_id = None
if resolve_results and 'claim' in resolve_results:
claim_id = resolve_results['claim']['claim_id']
certificate_id = None
if resolve_results and 'certificate' in resolve_results:
certificate_id = resolve_results['certificate']['claim_id']
try: try:
result[uri] = self._handle_claim_result(resolve_results) result[uri] = self._handle_claim_result(resolve_results)
yield self.save_claim(result[uri]) yield self.save_claim(result[uri])