test: Use msg_generic in p2p_ping.py

This commit is contained in:
MarcoFalke committed 2025-06-30 14:50:55 +02:00
1 parent 33480573cb
commit fa3f100010
2 files changed
+7 -9

No files matched your search

+2 -2
View File
@@ -1374,8 +1374,8 @@ class msg_block:
return "msg_block(block=%s)" % (repr(self.block))
# for cases where a user needs tighter control over what is sent over the wire
# note that the user must supply the name of the msgtype, and the data
# Generic type to control the raw bytes sent over the wire.
# The msgtype and the data must be provided.
class msg_generic:
__slots__ = ("msgtype", "data")