You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that 46c9140 which fixed a nil-panic regarding not defining the PaymentAddr did not address the case that when it is not specified an empty bytearray is used instead of its nil value.
copies per default the empty bytearray, which will later down in the function call cause an incorrect_payment_details as a correct Payment Address is expected.
The text was updated successfully, but these errors were encountered:
Background
Using the
lnrpc.Lightning.SendPayment
gRPC fails with the errorincorrect_payment_details
ifPaymentAddr
in theSendRequest
is empty using keysend.Your environment
lnd
: 0.13.0Steps to reproduce
Calling
lnrpc.Lightning.SendPayment
with e.g. theSendRequest
used for a keysend:Expected behaviour
Keysend should be successful.
Actual behaviour
It seems that 46c9140 which fixed a nil-panic regarding not defining the
PaymentAddr
did not address the case that when it is not specified an empty bytearray is used instead of its nil value.Hence
lnd/rpcserver.go
Line 4353 in f9a5188
The text was updated successfully, but these errors were encountered: