test: avoid unneeded block header hash -> integer conversions

This commit is contained in:
Sebastian Falbesoner committed 2025-07-17 12:45:39 +02:00
1 parent 2118301d77
commit 5fa34951ea
6 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -115,7 +115,7 @@ class InvalidBlockRequestTest(BitcoinTestFramework):
# Update tip info
height += 1
block_time += 1
tip = int(block2_orig.hash_hex, 16)
tip = block2_orig.hash_int
# Complete testing of CVE-2018-17144, by checking for the inflation bug.
# Create a block that spends the output of a tx in a previous block.