mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
short_channel_id: just use structeq.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
affc1be4d6
commit
c5d41a23d7
@@ -1069,7 +1069,7 @@ static void json_dev_forget_channel(struct command *cmd, const char *buffer,
|
||||
if (scidtok) {
|
||||
if (!channel->scid)
|
||||
continue;
|
||||
if (!short_channel_id_eq(channel->scid, &scid))
|
||||
if (!structeq(channel->scid, &scid))
|
||||
continue;
|
||||
}
|
||||
if (forget->channel) {
|
||||
|
||||
Reference in New Issue
Block a user