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
According to the documentation of listsendpay the field amount_msat is optional:
amount_msat (msat, optional): The amount delivered to destination (if known)
No further information is provided. Can the documentation be more explicit?
Like explaining, maybe, under which circumstances this field is not present, so that
people (and software) calling listsendpays can deduce what is happening with that
sendpay and act accordingly.
The text was updated successfully, but these errors were encountered:
…present
FixesElementsProject#6909
Update the documentation of `listsendpays` to be more explicit about when the `amount_msat` field might not be present.
* Update the description of the `amount_msat` field in `doc/schemas/lightning-listsendpays.json` to explain that it might not be present if the payment is still pending or if the amount delivered to the destination is not known.
* Add a note in the `response` section to indicate that if the `amount_msat` field is not present, it means the payment is still pending or the amount delivered to the destination is not known.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ElementsProject/lightning/issues/6909?shareId=XXXX-XXXX-XXXX-XXXX).
According to the documentation of
listsendpay
the fieldamount_msat
is optional:No further information is provided. Can the documentation be more explicit?
Like explaining, maybe, under which circumstances this field is not present, so that
people (and software) calling
listsendpays
can deduce what is happening with thatsendpay and act accordingly.
The text was updated successfully, but these errors were encountered: