is_all_channels: rename to channel_id_is_all

Suggested-by: Christian Decker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2017-10-22 19:33:03 +10:30
committed by Christian Decker
parent 1954844fbf
commit 74e684cc0d
3 changed files with 12 additions and 13 deletions

View File

@@ -267,7 +267,7 @@ static bool is_all_channel_error(const u8 *msg)
if (!fromwire_error(msg, msg, NULL, &channel_id, &data))
return false;
tal_free(data);
return is_all_channels(&channel_id);
return channel_id_is_all(&channel_id);
}
static struct io_plan *peer_close_after_error(struct io_conn *conn,