mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
bkpr: 'to_miner' spends are considered terminal
This is a rare case where we RBF the output of a penalty until it no longer has an output value we can reclaim. We ignore the txid for these events when closing a channel.
This commit is contained in:
@@ -1755,6 +1755,10 @@ def test_penalty_rbf_burn(node_factory, bitcoind, executor, chainparams):
|
||||
|
||||
check_utxos_channel(l2, [channel_id], expected_2)
|
||||
|
||||
# Make sure that l2's account is considered closed (has a fee output)
|
||||
fees = [e for e in l2.rpc.listincome()['income_events'] if e['tag'] == 'onchain_fee']
|
||||
assert len(fees) == 1
|
||||
|
||||
|
||||
@pytest.mark.developer("needs DEVELOPER=1")
|
||||
def test_onchain_first_commit(node_factory, bitcoind):
|
||||
|
||||
Reference in New Issue
Block a user