Unnecessary maybeDeferred

This commit is contained in:
Itamar Turner-Trauring 2023-12-07 16:39:30 -05:00
parent ac5178269b
commit 2783bd8b77

View File

@ -419,7 +419,7 @@ class DownloadNode(object):
def process_blocks(self, segnum, blocks):
start = now()
d = defer.maybeDeferred(self._decode_blocks, segnum, blocks)
d = self._decode_blocks(segnum, blocks)
d.addCallback(self._check_ciphertext_hash, segnum)
def _deliver(result):
log.msg(format="delivering segment(%(segnum)d)",