| 2055 | } |
| 2056 | |
| 2057 | static bool is_valid_nonzero_amount(struct token *token) |
| 2058 | { |
| 2059 | if (token->type == TOK_SATS && amount_sat_is_zero(token->amount_sat)) |
| 2060 | return false; |
| 2061 | |
| 2062 | return is_valid_amount(token); |
| 2063 | } |
| 2064 | |
| 2065 | static bool valid_channel_id(struct channel_id *chan_id, |
| 2066 | struct splice_script_chan **channels) |
no test coverage detected