mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-19 20:20:00 +01:00
test: Use msg_generic in p2p_ping.py
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user