Return from "listincoming". */
| 928 | |
| 929 | /* Return from "listincoming". */ |
| 930 | static void listincoming_done(const char *buffer, |
| 931 | const jsmntok_t *toks, |
| 932 | const jsmntok_t *idtok UNUSED, |
| 933 | struct invoice_info *info) |
| 934 | { |
| 935 | struct command_result *ret; |
| 936 | bool warning_mpp, warning_capacity, warning_deadends, warning_offline, warning_private_unused; |
| 937 | |
| 938 | ret = add_routehints(info, buffer, toks, |
| 939 | &warning_mpp, |
| 940 | &warning_capacity, |
| 941 | &warning_deadends, |
| 942 | &warning_offline, |
| 943 | &warning_private_unused); |
| 944 | if (ret) |
| 945 | return; |
| 946 | |
| 947 | invoice_complete(info, |
| 948 | false, |
| 949 | warning_mpp, |
| 950 | warning_capacity, |
| 951 | warning_deadends, |
| 952 | warning_offline, |
| 953 | warning_private_unused); |
| 954 | } |
| 955 | |
| 956 | void invoice_check_onchain_payment(struct lightningd *ld, |
| 957 | const u8 *scriptPubKey, |
nothing calls this directly
no test coverage detected