We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7138f4 commit 695fcdfCopy full SHA for 695fcdf
deccom/protocols/delayprotocol.py
@@ -29,7 +29,7 @@ async def send_stream(self,node_id,data, ignore_sz = 0):
29
dl = dl[0]/1000 + sz/(1024**3*dl[1])
30
with open(f"log{self.peer.pub_key}.txt", "a") as log:
31
32
- log.write(f" Will send to {self.get_peer(node_id).pub_key} {len(buffer)} in {dl} seconds\n")
+ log.write(f" Will send to {self.get_peer(node_id).pub_key} {len(data)} in {dl} seconds\n")
33
if dl > 0.2:
34
await asyncio.sleep(dl)
35
if self.started:
0 commit comments