summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-22 16:12:20 +0100
committerErik Johnston <erik@matrix.org>2015-05-22 16:12:20 +0100
commit6eadbfbea0f8eb742f94d73e262631b0877e3dee (patch)
treee804fc954f4e1d46e082b8d04a56a93b6c11e7b6 /synapse/federation/federation_client.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/backfill_f... (diff)
downloadsynapse-6eadbfbea0f8eb742f94d73e262631b0877e3dee.tar.xz
Remove redundant for loop
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r--synapse/federation/federation_client.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index cbb9d354b6..d3b46b24c1 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -165,9 +165,6 @@ class FederationClient(FederationBase):
             for p in transaction_data["pdus"]
         ]
 
-        for i, pdu in enumerate(pdus):
-            pdus[i] = yield self._check_sigs_and_hash(pdu)
-
         # FIXME: We should handle signature failures more gracefully.
         pdus[:] = yield defer.gatherResults(
             [self._check_sigs_and_hash(pdu) for pdu in pdus],