multi: add the aggregate internal pubkey to the v3 htlc

This commit is contained in:
Andras Banki-Horvath 2022-05-11 16:37:50 +02:00
parent 638973dce2
commit 9610becebd
No known key found for this signature in database
GPG key ID: 80E5375C094198D8
7 changed files with 50 additions and 87 deletions

View file

@ -72,7 +72,7 @@ func (s *swapKit) getHtlc(outputType swap.HtlcOutputType) (*swap.Htlc, error) {
return swap.NewHtlc(
GetHtlcScriptVersion(s.contract.ProtocolVersion),
s.contract.CltvExpiry, s.contract.SenderKey,
s.contract.ReceiverKey, nil, s.hash, outputType,
s.contract.ReceiverKey, s.hash, outputType,
s.swapConfig.lnd.ChainParams,
)
}