justheuristic hace 3 años
padre
commit
e44117640a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      hivemind/p2p/p2p_daemon.py

+ 1 - 1
hivemind/p2p/p2p_daemon.py

@@ -301,7 +301,7 @@ class P2P:
             offset = 0
             while offset < len(data):
                 chunk = await P2P.receive_raw_data(reader)
-                buf[offset : offset + len(chunk)] = chunk
+                data[offset : offset + len(chunk)] = chunk
                 offset += len(chunk)
             protobuf.ParseFromString(data)
             return protobuf, None