Merge pull request #236 from joostjager/out-return-p2wsh

loopd: return missing p2wsh loop out address
This commit is contained in:
Joost Jager 2020-06-17 08:50:00 +02:00 committed by GitHub
commit ab6e89c911
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,9 +110,10 @@ func (s *swapClientServer) LoopOut(ctx context.Context,
}
return &looprpc.SwapResponse{
Id: hash.String(),
IdBytes: hash[:],
HtlcAddress: htlc.String(),
Id: hash.String(),
IdBytes: hash[:],
HtlcAddress: htlc.String(),
HtlcAddressP2Wsh: htlc.String(),
}, nil
}