mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
paymod: Add a simple test-command to test the paymod state-machine
This commit can be reverted/skipped once we have implemented all the logic and have feature parity with the normal `pay`. It's main purpose is to expose the unfinished functionality to test it, without completely breaking the existing `pay` command.
This commit is contained in:
@@ -129,6 +129,10 @@ struct payment_modifier {
|
||||
void (*)(data_type, struct payment *), step_cb), \
|
||||
};
|
||||
|
||||
struct dummy_data {
|
||||
unsigned int *dummy_param;
|
||||
};
|
||||
|
||||
/* List of globally available payment modifiers. */
|
||||
extern struct payment_modifier dummy_pay_mod;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user