We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e4d51a commit 3a9a162Copy full SHA for 3a9a162
bitcoin/messages.py
@@ -336,11 +336,11 @@ def __init__(self, protover=PROTO_VERSION):
336
@classmethod
337
def msg_deser(cls, f, protover=PROTO_VERSION):
338
c = cls()
339
- c.headers = VectorSerializer.stream_deserialize(CBlock, f)
+ c.headers = VectorSerializer.stream_deserialize(CBlockHeader, f)
340
return c
341
342
def msg_ser(self, f):
343
- VectorSerializer.stream_serialize(CBlock, self.headers, f)
+ VectorSerializer.stream_serialize(CBlockHeader, self.headers, f)
344
345
def __repr__(self):
346
return "msg_headers(headers=%s)" % (repr(self.headers))
0 commit comments