Skip to content

Commit eb103c1

Browse files
vincenzopalazzorustyrussell
authored andcommitted
review 2/2: Use generic query to make the code more readable.
Suggested by @cdecker P.S: Also this include an API refactoring from my previous solution, also this it is suggested by @cdecker. Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
1 parent bea6ea2 commit eb103c1

8 files changed

+106
-1031
lines changed

doc/lightning-listsendpays.7

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/lightning-listsendpays.7.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ lightning-listsendpays -- Low-level command for querying sendpay status
44
SYNOPSIS
55
--------
66

7-
**listsendpays** \[*bolt11*\] \[*payment\_hash*\] [\*status*\]
7+
**listsendpays** \[*bolt11*\] \[*payment\_hash*\] \[*status*\]
88

99
DESCRIPTION
1010
-----------
1111

1212
The **listsendpays** RPC command gets the status of all *sendpay*
1313
commands (which is also used by the *pay* command), or with *bolt11* or
1414
*payment\_hash* limits results to that specific payment. You cannot
15-
specify both. It is possible filter the payments also by status.
15+
specify both. It is possible filter the payments also by *status*.
1616

1717
Note that in future there may be more than one concurrent *sendpay*
1818
command per *pay*, so this command should be used with caution.

wallet/db_postgres_sqlgen.c

Lines changed: 5 additions & 189 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)