pull down to refresh
jq
lncli describegraph | jq -r '.edges[] | (select((.node2_policy.custom_records."55555" != null) and (.node2_policy.custom_records."55555" != "0000000000000000") or (.node1_policy.custom_records."55555" != null) and (.node1_policy.custom_records."55555" != "0000000000000000"))) | .channel_id'
jq
command to get all the channels with discountslncli describegraph | jq -r '.edges[] | (select((.node2_policy.custom_records."55555" != null) and (.node2_policy.custom_records."55555" != "0000000000000000") or (.node1_policy.custom_records."55555" != null) and (.node1_policy.custom_records."55555" != "0000000000000000"))) | .channel_id'