mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-20 21:44:29 +01:00
hsmd: fix capability check for signing splices.
The nomenclature confusion mean that we were ANDING a capability with a message number (29) which always returned non-zero. We really do need a new capability which we can hand to channeld to make these splice txs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -1269,7 +1269,8 @@ bool peer_start_channeld(struct channel *channel,
|
||||
| HSM_PERM_COMMITMENT_POINT
|
||||
| HSM_PERM_SIGN_REMOTE_TX
|
||||
| HSM_PERM_SIGN_ONCHAIN_TX
|
||||
| HSM_PERM_SIGN_CLOSING_TX);
|
||||
| HSM_PERM_SIGN_CLOSING_TX
|
||||
| HSM_PERM_SIGN_SPLICE_TX);
|
||||
|
||||
channel_set_owner(channel,
|
||||
new_channel_subd(channel, ld,
|
||||
|
||||
Reference in New Issue
Block a user