Skip to content

Commit 7dc43ea

Browse files
committed
test: Add msgtype to msg_generic slots
1 parent b3bb403 commit 7dc43ea

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
@@ -1377,7 +1377,7 @@ def __repr__(self):
13771377
# for cases where a user needs tighter control over what is sent over the wire
13781378
# note that the user must supply the name of the msgtype, and the data
13791379
class msg_generic:
1380-
__slots__ = ("data")
1380+
__slots__ = ("msgtype", "data")
13811381

13821382
def __init__(self, msgtype, data=None):
13831383
self.msgtype = msgtype

0 commit comments

Comments
 (0)