mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34: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
@@ -1194,7 +1194,7 @@ get_out_node_connection_of(const struct node *node,
|
||||
int i;
|
||||
|
||||
for (i = 0; i < tal_count(node->out); ++i) {
|
||||
if (short_channel_id_eq(&node->out[i]->short_channel_id, short_channel_id))
|
||||
if (structeq(&node->out[i]->short_channel_id, short_channel_id))
|
||||
return node->out[i];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user