Skip to content

Commit cd2523f

Browse files
committed
sha256->hash_int, see #32868
1 parent 0cd0232 commit cd2523f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

resources/scenarios/test_scenarios/p2p_interface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ def __init__(self):
1818
self.blocks = defaultdict(int)
1919

2020
def on_block(self, message):
21-
message.block.calc_sha256()
22-
self.blocks[message.block.sha256] += 1
21+
self.blocks[message.block.hash_int] += 1
2322

2423

2524
class GetdataTest(Commander):

0 commit comments

Comments
 (0)