mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
liquidity-ad: fill in acceptance response
Asks HSMD for signed lease termsheet, fills in the details to the accept_channel2 TLV
This commit is contained in:
@@ -2893,7 +2893,8 @@ static void start_fresh_dualopend(struct peer *peer,
|
||||
|
||||
hsmfd = hsm_get_client_fd(peer->ld, &peer->id, channel->unsaved_dbid,
|
||||
HSM_CAP_COMMITMENT_POINT
|
||||
| HSM_CAP_SIGN_REMOTE_TX);
|
||||
| HSM_CAP_SIGN_REMOTE_TX
|
||||
| HSM_CAP_SIGN_WILL_FUND_OFFER);
|
||||
|
||||
channel->owner = new_channel_subd(peer->ld,
|
||||
"lightning_dualopend",
|
||||
@@ -2959,7 +2960,8 @@ void peer_restart_dualopend(struct peer *peer,
|
||||
}
|
||||
hsmfd = hsm_get_client_fd(peer->ld, &peer->id, channel->dbid,
|
||||
HSM_CAP_COMMITMENT_POINT
|
||||
| HSM_CAP_SIGN_REMOTE_TX);
|
||||
| HSM_CAP_SIGN_REMOTE_TX
|
||||
| HSM_CAP_SIGN_WILL_FUND_OFFER);
|
||||
|
||||
channel_set_owner(channel,
|
||||
new_channel_subd(peer->ld, "lightning_dualopend",
|
||||
|
||||
Reference in New Issue
Block a user