|
rpcReq.Amt = int64(request.Amount) |
When sending a payment with the parameters request.Invoice set to a 0 amount invoice as well as request.Amount set it will still submit it without the amount as opposed to what is expected for a dynamic value invoice.
I tried it with this invoice. This will result in rpc error: code = Unknown desc = amount must be specified when paying a zero amount invoice
Or is this expected and I have to replace the 0 amount invoice myself first?