mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
It's easiest to have the master keep the last commit we sent, for re-transmission. We could recalculate it, but it's made more difficult by the before/after revoke case. And because revoke_and_ack changes the channel state, we need to remember which order we sent them in for re-transmission. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>