This commit is contained in:
Nikolaj
2021-11-05 13:49:35 +01:00
parent 57c3e9f626
commit 84fbccb94d
7 changed files with 373372 additions and 5 deletions

View File

@ -260,9 +260,7 @@ class CascadePeerServe(socketserver.StreamRequestHandler):
resp.extend(struct.pack('!Q', block.length))
resp.extend(data)
print("sending")
self.request.sendall(resp)
print("sent")
def reporterror(self, code: int, msg: str) -> None:
msgdata = bytes(msg, 'utf-8')