We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2837a9f commit 847b6edCopy full SHA for 847b6ed
test/functional/mempool_unbroadcast.py
@@ -92,6 +92,12 @@ def test_broadcast(self):
92
self.disconnect_nodes(0, 1)
93
node.disconnect_p2ps()
94
95
+ self.log.info("Rebroadcast transaction and ensure it is not added to unbroadcast set when already in mempool")
96
+ rpc_tx_hsh = node.sendrawtransaction(txFS["hex"])
97
+ mempool = node.getrawmempool(True)
98
+ assert rpc_tx_hsh in mempool
99
+ assert not mempool[rpc_tx_hsh]['unbroadcast']
100
+
101
def test_txn_removal(self):
102
self.log.info("Test that transactions removed from mempool are removed from unbroadcast set")
103
node = self.nodes[0]
0 commit comments