Flag set when any of the destinations has a value of "all". */
| 17 | |
| 18 | /* Flag set when any of the destinations has a value of "all". */ |
| 19 | static bool has_all(const struct multifundchannel_command *mfc) |
| 20 | { |
| 21 | for (size_t i = 0; i < tal_count(mfc->destinations); i++) { |
| 22 | if (mfc->destinations[i].all) |
| 23 | return true; |
| 24 | } |
| 25 | return false; |
| 26 | } |
| 27 | |
| 28 | size_t dest_count(const struct multifundchannel_command *mfc, |
| 29 | enum channel_protocol protocol) |
no outgoing calls
no test coverage detected