(fee)
| 301 | " FROM htlc_sigs;") |
| 302 | |
| 303 | def fee_bump_splice(fee): |
| 304 | # No inputs and no extra outputs: the new funding output is the only |
| 305 | # output, so every candidate puts it at index 0. |
| 306 | result = l1.rpc.splice_init(chan_id, -fee) |
| 307 | result = l1.rpc.splice_update(chan_id, result['psbt']) |
| 308 | assert result['commitments_secured'] is False |
| 309 | result = l1.rpc.splice_update(chan_id, result['psbt']) |
| 310 | assert result['commitments_secured'] is True |
| 311 | return l1.rpc.splice_signed(chan_id, result['psbt']) |
| 312 | |
| 313 | first = fee_bump_splice(5801) |
| 314 | l1.daemon.wait_for_log(r'CHANNELD_NORMAL to CHANNELD_AWAITING_SPLICE') |
no test coverage detected