Skip to content

Commit 695fcdf

Browse files
fix
1 parent a7138f4 commit 695fcdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deccom/protocols/delayprotocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async def send_stream(self,node_id,data, ignore_sz = 0):
2929
dl = dl[0]/1000 + sz/(1024**3*dl[1])
3030
with open(f"log{self.peer.pub_key}.txt", "a") as log:
3131

32-
log.write(f" Will send to {self.get_peer(node_id).pub_key} {len(buffer)} in {dl} seconds\n")
32+
log.write(f" Will send to {self.get_peer(node_id).pub_key} {len(data)} in {dl} seconds\n")
3333
if dl > 0.2:
3434
await asyncio.sleep(dl)
3535
if self.started:

0 commit comments

Comments
 (0)