Skip to content

Commit f1bf311

Browse files
committed
[qa] Fix block message processing error in sendheaders.py
1 parent e5d26e4 commit f1bf311

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)