Skip to content

Commit

Permalink
func: cleanup test_dustrelay comments
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Nov 20, 2024
1 parent bedca1c commit 768a0c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/mempool_dust.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ def test_dustrelay(self):

assert_equal(self.nodes[0].getrawmempool(), [])

# Double dust, both unspent, with fees. Would have failed individual checks.
# Dust is 1 satoshi create_self_transfer_multi disallows 0
# Create two dust outputs. Transaction has zero fees. both dust outputs are unspent, and would have failed individual checks.
# The amount is 1 satoshi because create_self_transfer_multi disallows 0.
dusty_tx = self.wallet.create_self_transfer_multi(fee_per_output=1000, amount_per_output=1, num_outputs=2)
dust_txid = self.nodes[0].sendrawtransaction(hexstring=dusty_tx["hex"], maxfeerate=0)

Expand Down

0 comments on commit 768a0c1

Please sign in to comment.