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
Hello @zenoxygen
I am using your library to work with RUST, the part to send a uanso payment (pay_invoice) works well for me, but additionally, I want to be able to add a description/note when sending the payment, as I have investigated, I should use ( dest_custom_records: ) (An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.) https://api.lightning.community/api/lnd/lightning/send-payment-sync/index.html#lnrpcsendrequestdestcustomrecordsentry
Even though that field is not in your code, I have added it locally, but when compiling I get this error: (error[E0560]: struct SendPaymentSyncRequest has no field named dest_custom_records) even though I already added it locally it does not finish If I recognize it, do you know how I can solve it? And additionally if you know if to add a note or description when sending the payment the ideal in LND is to use the field (dest_custom_records) or if there is another way to do it.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hello @zenoxygen
![Error SendPaymentSyncRequest](https://private-user-images.githubusercontent.com/46906582/329687320-389a4818-9d25-474e-9a05-6cee958f55cf.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0MjQ1NjUsIm5iZiI6MTcyMjQyNDI2NSwicGF0aCI6Ii80NjkwNjU4Mi8zMjk2ODczMjAtMzg5YTQ4MTgtOWQyNS00NzRlLTlhMDUtNmNlZTk1OGY1NWNmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MzElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzMxVDExMTEwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY5M2M0Nzk5NzQ0YTMxODA1ZTgyOTczOWVkYjU3NWIwNmY1NWVhMDc0M2UxYjAxZTEwMGMyNDVlNGRkZDI2MTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.tA51Rjh4RxYVP5kInx_zy87HlmaXNQ-fahY-nRoACzQ)
I am using your library to work with RUST, the part to send a uanso payment (pay_invoice) works well for me, but additionally, I want to be able to add a description/note when sending the payment, as I have investigated, I should use ( dest_custom_records: ) (An optional field that can be used to pass an arbitrary set of TLV records to a peer which understands the new records. This can be used to pass application specific data during the payment attempt. Record types are required to be in the custom range >= 65536. When using REST, the values must be encoded as base64.) https://api.lightning.community/api/lnd/lightning/send-payment-sync/index.html#lnrpcsendrequestdestcustomrecordsentry
Even though that field is not in your code, I have added it locally, but when compiling I get this error: (error[E0560]: struct
SendPaymentSyncRequest
has no field nameddest_custom_records
) even though I already added it locally it does not finish If I recognize it, do you know how I can solve it? And additionally if you know if to add a note or description when sending the payment the ideal in LND is to use the field (dest_custom_records) or if there is another way to do it.Thanks for your help.
The text was updated successfully, but these errors were encountered: