Skip to content

Commit aeb3175

Browse files
author
MarcoFalke
committed
Merge #11032: [qa] Fix block message processing error in sendheaders.py
f1bf311 [qa] Fix block message processing error in sendheaders.py (Suhas Daftuar) Pull request description: Introduced in #10169 @jnewbery Tree-SHA512: f330b926c51bd4f1b63738e1ddac23c58cb32345baed36343f7a989b3b9906c5c6e7dbd74b416f662c6ef68b8d256a6c69a977ec5f85789b2c1dc802bc831f6b
2 parents ac016e1 + f1bf311 commit aeb3175

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

test/functional/sendheaders.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,6 @@ def on_headers(self, conn, message):
121121
message.headers[-1].calc_sha256()
122122
self.last_blockhash_announced = message.headers[-1].sha256
123123

124-
def on_block(self, conn, message):
125-
self.last_message["block"].calc_sha256()
126-
127124
# Test whether the last announcement we received had the
128125
# right header or the right inv
129126
# inv and headers should be lists of block hashes

0 commit comments

Comments
 (0)