mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
common: remove unused functions or make static.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -282,18 +282,6 @@ void json_add_short_channel_id(struct json_stream *response,
|
||||
short_channel_id_outnum(scid));
|
||||
}
|
||||
|
||||
void json_add_short_channel_id_dir(struct json_stream *response,
|
||||
const char *fieldname,
|
||||
const struct short_channel_id_dir *scidd)
|
||||
{
|
||||
json_add_member(response, fieldname, true, "%dx%dx%d/%d",
|
||||
short_channel_id_blocknum(&scidd->scid),
|
||||
short_channel_id_txnum(&scidd->scid),
|
||||
short_channel_id_outnum(&scidd->scid),
|
||||
scidd->dir
|
||||
);
|
||||
}
|
||||
|
||||
void json_add_address(struct json_stream *response, const char *fieldname,
|
||||
const struct wireaddr *addr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user