justheuristic 3 anos atrás
pai
commit
e44117640a
1 arquivos alterados com 1 adições e 1 exclusões
  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