Skip to content

Commit 4b656e2

Browse files
dergoeggefanquake
authored andcommitted
test: Add msgtype to msg_generic slots
Github-Pull: #32833 Rebased-From: 7dc43ea
1 parent 1c0e19b commit 4b656e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_framework/messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ def __repr__(self):
13581358
# for cases where a user needs tighter control over what is sent over the wire
13591359
# note that the user must supply the name of the msgtype, and the data
13601360
class msg_generic:
1361-
__slots__ = ("data")
1361+
__slots__ = ("msgtype", "data")
13621362

13631363
def __init__(self, msgtype, data=None):
13641364
self.msgtype = msgtype

0 commit comments

Comments
 (0)