| 3229 | * payment is below the threshold. */ |
| 3230 | |
| 3231 | static struct exemptfee_data *exemptfee_data_init(struct payment *p) |
| 3232 | { |
| 3233 | if (p->parent == NULL) { |
| 3234 | struct exemptfee_data *d = tal(p, struct exemptfee_data); |
| 3235 | d->amount = AMOUNT_MSAT(5000); |
| 3236 | return d; |
| 3237 | } else { |
| 3238 | return payment_mod_exemptfee_get_data(p->parent); |
| 3239 | } |
| 3240 | } |
| 3241 | |
| 3242 | static struct command_result *exemptfee_cb(struct exemptfee_data *d, struct payment *p) |
| 3243 | { |
nothing calls this directly
no outgoing calls
no test coverage detected