test: avoid unneeded block header hash -> integer conversions

This commit is contained in:
Sebastian Falbesoner
2025-06-15 01:23:09 +02:00
parent 2118301d77
commit 5fa34951ea
6 changed files with 23 additions and 23 deletions

View File

@@ -196,7 +196,7 @@ class BIP65Test(BitcoinTestFramework):
self.test_cltv_info(is_active=True) # Not active as of current tip, but next block must obey rules
peer.send_and_ping(msg_block(block))
self.test_cltv_info(is_active=True) # Active as of current tip
assert_equal(int(self.nodes[0].getbestblockhash(), 16), block.hash_int)
assert_equal(self.nodes[0].getbestblockhash(), block.hash_hex)
if __name__ == '__main__':