Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
channeld-df: actually check serial_id of input when setting sigs
We're about to totally upset the order that sigs are set on our PSBTs for new channel opens, making it such that our peer's sigs may arrive before ours do. We can no longer rely on the 'set witness means this is our input' since there's no guarantee that our input sigs have been added yet, so we check the serial_id and only set the stack on their (odd) inputs.
- Loading branch information