Fix iteration of requests_missing_keys; list doesn't have .values()

Signed-off-by: Kenny Keslar <r3dey3@r3dey3.com>
pull/4/merge
Kenny Keslar 7 years ago
parent b27429729d
commit f18373dc5d
  1. 2
      synapse/crypto/keyring.py

@ -305,7 +305,7 @@ class Keyring(object):
if not missing_keys:
break
for verify_request in requests_missing_keys.values():
for verify_request in requests_missing_keys:
verify_request.deferred.errback(SynapseError(
401,
"No key for %s with id %s" % (

Loading…
Cancel
Save