Page MenuHomePhabricator

D7347.diff
No OneTemporary

D7347.diff

diff --git a/test/functional/interface_zmq.py b/test/functional/interface_zmq.py
--- a/test/functional/interface_zmq.py
+++ b/test/functional/interface_zmq.py
@@ -130,6 +130,13 @@
hex = rawtx.receive()
assert_equal(payment_txid, hash256_reversed(hex).hex())
+ # Mining the block with this tx should result in second notification
+ # after coinbase tx notification
+ self.nodes[0].generatetoaddress(1, ADDRESS_BCHREG_UNSPENDABLE)
+ hashtx.receive()
+ txid = hashtx.receive()
+ assert_equal(payment_txid, txid.hex())
+
self.log.info("Test the getzmqnotifications RPC")
assert_equal(self.nodes[0].getzmqnotifications(), [
{"type": "pubhashblock", "address": address, "hwm": 1000},

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 11:53 (3 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187714
Default Alt Text
D7347.diff (804 B)

Event Timeline