I have three nodes in regtest environment l1, l2, and l3
l1 create a channel with l2
l2 create a channel with l3
l3 create an invoice for l1. l1 can pays it because use the route l1-l2-l3
I presume that here c-lightning use HTLC to accomplish it.
Where can I debug the script? I'd like to see something like this
# Payment if you have the secret R
HASH160 <H> EQUALVERIFY
# Refund after timeout.
<locktime> CHECKLOCKTIMEVERIFY DROP <Payee Pubic Key> CHECKSIG