You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
itest: add new testCustomChannelsHtlcForceClose itest
In this commit, we add a new itest that tests the 4 sweeping cases for
HTLCs:
* local success
* remote success
* local timeout
* remote timeout
To test this, we have Alice load up her commitment transaction with 4
HTLCs (2 incoming, 2 outgoing) using hodl invoices. Then we force close
her commitment transaction. In this scenario, she needs to broadcast a
second level transaction to ultimately timeout, while Bob can sweep
directly from the commitment transaction.
0 commit comments