mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-12 16:49:29 -05:00
Remove redundant for loop
This commit is contained in:
parent
74b7de83ec
commit
6eadbfbea0
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user