mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
[qa] Fix block message processing error in sendheaders.py
This commit is contained in:
parent
e5d26e47c7
commit
f1bf31186c
@ -121,9 +121,6 @@ class TestNode(NodeConnCB):
|
|||||||
message.headers[-1].calc_sha256()
|
message.headers[-1].calc_sha256()
|
||||||
self.last_blockhash_announced = message.headers[-1].sha256
|
self.last_blockhash_announced = message.headers[-1].sha256
|
||||||
|
|
||||||
def on_block(self, conn, message):
|
|
||||||
self.last_message["block"].calc_sha256()
|
|
||||||
|
|
||||||
# Test whether the last announcement we received had the
|
# Test whether the last announcement we received had the
|
||||||
# right header or the right inv
|
# right header or the right inv
|
||||||
# inv and headers should be lists of block hashes
|
# inv and headers should be lists of block hashes
|
||||||
|
Loading…
Reference in New Issue
Block a user