paymod: Add reason why a payment was attempted

This is a slight change in interface in that the string no longer spells out
that a specific node was excluded.
This commit is contained in:
Christian Decker
2020-05-29 17:08:20 +02:00
parent 3a35dd34ac
commit 2f0e535b81
4 changed files with 15 additions and 2 deletions

View File

@@ -228,6 +228,9 @@ struct payment {
/* Serialized bolt11 string, kept attachd to the root so we can filter
* by the invoice. */
const char *bolt11;
/* Textual explanation of why this payment was attempted. */
const char *why;
};
struct payment_modifier {