@@ -195,7 +195,7 @@ func (s *Client) FetchSwaps() ([]*SwapInfo, error) {
195195 htlc , err := swap .NewHtlc (
196196 GetHtlcScriptVersion (swp .Contract .ProtocolVersion ),
197197 swp .Contract .CltvExpiry , swp .Contract .SenderKey ,
198- swp .Contract .ReceiverKey , nil , swp .Hash , swap .HtlcP2WSH ,
198+ swp .Contract .ReceiverKey , swp .Hash , swap .HtlcP2WSH ,
199199 s .lndServices .ChainParams ,
200200 )
201201 if err != nil {
@@ -216,7 +216,7 @@ func (s *Client) FetchSwaps() ([]*SwapInfo, error) {
216216 htlcNP2WSH , err := swap .NewHtlc (
217217 GetHtlcScriptVersion (swp .Contract .ProtocolVersion ),
218218 swp .Contract .CltvExpiry , swp .Contract .SenderKey ,
219- swp .Contract .ReceiverKey , nil , swp .Hash , swap .HtlcNP2WSH ,
219+ swp .Contract .ReceiverKey , swp .Hash , swap .HtlcNP2WSH ,
220220 s .lndServices .ChainParams ,
221221 )
222222 if err != nil {
@@ -226,7 +226,7 @@ func (s *Client) FetchSwaps() ([]*SwapInfo, error) {
226226 htlcP2WSH , err := swap .NewHtlc (
227227 GetHtlcScriptVersion (swp .Contract .ProtocolVersion ),
228228 swp .Contract .CltvExpiry , swp .Contract .SenderKey ,
229- swp .Contract .ReceiverKey , nil , swp .Hash , swap .HtlcP2WSH ,
229+ swp .Contract .ReceiverKey , swp .Hash , swap .HtlcP2WSH ,
230230 s .lndServices .ChainParams ,
231231 )
232232 if err != nil {
0 commit comments