| 265 | } |
| 266 | |
| 267 | static struct splice_script_result *output_wallet(struct splice_cmd *splice_cmd) |
| 268 | { |
| 269 | for (size_t i = 0; i < tal_count(splice_cmd->actions); i++) { |
| 270 | struct splice_script_result *action = splice_cmd->actions[i]; |
| 271 | if (!action->onchain_wallet) |
| 272 | continue; |
| 273 | if (action->in_ppm || !amount_sat_is_zero(action->in_sat)) |
| 274 | return action; |
| 275 | } |
| 276 | return NULL; |
| 277 | } |
| 278 | |
| 279 | static struct splice_script_result *fee_action(struct splice_cmd *splice_cmd) |
| 280 | { |
no test coverage detected