We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3371fe + 06fd21f commit 6ac6ee0Copy full SHA for 6ac6ee0
loopout.go
@@ -306,7 +306,11 @@ func (s *loopOutSwap) sendUpdate(ctx context.Context) error {
306
info := s.swapInfo()
307
s.log.Infof("Loop out swap state: %v", info.State)
308
309
- info.HtlcAddressP2WSH = s.htlc.Address
+ if s.htlc.OutputType == swap.HtlcP2WSH {
310
+ info.HtlcAddressP2WSH = s.htlc.Address
311
+ } else {
312
+ info.HtlcAddressP2TR = s.htlc.Address
313
+ }
314
315
// In order to avoid potentially dangerous ownership sharing
316
// we copy the outgoing channel set.
0 commit comments