Fix 11452

This commit is contained in:
UdjinM6 2020-01-16 21:50:12 +03:00 committed by Pasta
parent b9e76deb10
commit 682b59a262
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -109,7 +109,7 @@ class ZMQTest (BitcoinTestFramework):
# Should receive the generated raw block. # Should receive the generated raw block.
block = self.rawblock.receive() block = self.rawblock.receive()
assert_equal(genhashes[x], bytes_to_hex_str(hash256(block[:80]))) assert_equal(genhashes[x], dashhash_helper(block[:80]))
self.log.info("Wait for tx from second node") self.log.info("Wait for tx from second node")
payment_txid = self.nodes[1].sendtoaddress(self.nodes[0].getnewaddress(), 1.0) payment_txid = self.nodes[1].sendtoaddress(self.nodes[0].getnewaddress(), 1.0)