| 277 | } |
| 278 | |
| 279 | static struct splice_script_result *fee_action(struct splice_cmd *splice_cmd) |
| 280 | { |
| 281 | for (size_t i = 0; i < tal_count(splice_cmd->actions); i++) { |
| 282 | struct splice_script_result *action = splice_cmd->actions[i]; |
| 283 | if (action->pays_fee) |
| 284 | return action; |
| 285 | } |
| 286 | return NULL; |
| 287 | } |
| 288 | |
| 289 | static struct command_result *notice_missing_funds(struct command *cmd, |
| 290 | struct splice_cmd *splice_cmd, |
no outgoing calls
no test coverage detected