mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
paymod: Do not pass cmd to sub-payments, plugin suffices
We were passing the `cmd` instance around where `plugin` suffices (used to start RPC calls and logs).
This commit is contained in:
@@ -101,8 +101,10 @@ enum payment_step {
|
||||
};
|
||||
|
||||
struct payment {
|
||||
/* The command that triggered this payment. */
|
||||
/* The command that triggered this payment. Only set for the root
|
||||
* payment. */
|
||||
struct command *cmd;
|
||||
struct plugin *plugin;
|
||||
struct list_node list;
|
||||
|
||||
const char *json_buffer;
|
||||
|
||||
Reference in New Issue
Block a user