mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-13 02:54:24 +01:00
In particular, make sure B can just afford it, then have the A add a HTLC which means B can no longer afford the fees, and A should cover it. We do this by modifying the previous overlapping-fail test, but we need to have B offer it the htlc before A does: racy in the normal autocommit case. So we do a manual commit here, always. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>