plugins/libplugin-pay.c: Give cmd id and partid for each log message.

Changelog-None: internal debugging

Makes it easier to debug payments with tons of splits.
This commit is contained in:
ZmnSCPxj jxPCSnmZ
2020-08-10 13:43:52 +08:00
committed by Christian Decker
parent e80d733399
commit 98583e84b5
2 changed files with 100 additions and 39 deletions

View File

@@ -262,6 +262,9 @@ struct payment {
* if we switch any of the parameters such as destination or
* amount. */
bool failroute_retry;
/* A unique id for the root of this payment. */
u64 id;
};
struct payment_modifier {