| 3671 | #define MPP_ADAPTIVE_LOWER_LIMIT AMOUNT_MSAT(100 * 1000) |
| 3672 | |
| 3673 | static struct adaptive_split_mod_data *adaptive_splitter_data_init(struct payment *p) |
| 3674 | { |
| 3675 | struct adaptive_split_mod_data *d; |
| 3676 | if (p->parent == NULL) { |
| 3677 | d = tal(p, struct adaptive_split_mod_data); |
| 3678 | d->disable = false; |
| 3679 | d->htlc_budget = 0; |
| 3680 | return d; |
| 3681 | } else { |
| 3682 | return payment_mod_adaptive_splitter_get_data(p->parent); |
| 3683 | } |
| 3684 | } |
| 3685 | |
| 3686 | static struct command_result *adaptive_splitter_cb(struct adaptive_split_mod_data *d, struct payment *p) |
| 3687 | { |
nothing calls this directly
no outgoing calls
no test coverage detected