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 cfdbcd1 commit 0eebd6fCopy full SHA for 0eebd6f
test/functional/mining_prioritisetransaction.py
@@ -263,6 +263,12 @@ def run_test(self):
263
if (x != high_fee_tx):
264
assert x not in mempool
265
266
+
267
+ self.log.info("Assert that 0 delta is never added to mapDeltas")
268
+ tx_id_zero_del = self.wallet.create_self_transfer()['txid']
269
+ self.nodes[0].prioritisetransaction(txid=tx_id_zero_del, fee_delta=0)
270
+ assert tx_id_zero_del not in self.nodes[0].getprioritisedtransactions()
271
272
# Create a free transaction. Should be rejected.
273
tx_res = self.wallet.create_self_transfer(fee_rate=0)
274
tx_hex = tx_res['hex']
0 commit comments