mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-09 16:14:19 +01:00
The channel daemon gets the shared secrets from the HSM to save the master daemon some work. It used to hand these over at revoke_and_ack receive, which is when the master daemon needs them. However, it's a bit simpler to hand them over when we first tell the master about the incoming HTLC (the first commitsig). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>