test: avoid unneeded block header hash -> integer conversions
This commit is contained in:
1 parent
2118301d77
commit
5fa34951ea
6 files changed
+23
-23
No files matched your search
@@ -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__':
|
||||
|
||||
Reference in new issue
Block a user