Skip to content

Commit ab6e89c

Browse files
authored
Merge pull request #236 from joostjager/out-return-p2wsh
loopd: return missing p2wsh loop out address
2 parents 0d67b39 + 83f25c9 commit ab6e89c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

loopd/swapclient_server.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,10 @@ func (s *swapClientServer) LoopOut(ctx context.Context,
110110
}
111111

112112
return &looprpc.SwapResponse{
113-
Id: hash.String(),
114-
IdBytes: hash[:],
115-
HtlcAddress: htlc.String(),
113+
Id: hash.String(),
114+
IdBytes: hash[:],
115+
HtlcAddress: htlc.String(),
116+
HtlcAddressP2Wsh: htlc.String(),
116117
}, nil
117118
}
118119

0 commit comments

Comments
 (0)