mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
jsonrpc: Add option_zeroconf handling to listpeers
This commit is contained in:
@@ -749,6 +749,8 @@ static void json_add_channel(struct lightningd *ld,
|
||||
json_add_string(response, NULL, "option_static_remotekey");
|
||||
if (channel_has(channel, OPT_ANCHOR_OUTPUTS))
|
||||
json_add_string(response, NULL, "option_anchor_outputs");
|
||||
if (channel_has(channel, OPT_ZEROCONF))
|
||||
json_add_string(response, NULL, "option_zeroconf");
|
||||
json_array_end(response);
|
||||
|
||||
if (!amount_sat_sub(&peer_funded_sats, channel->funding_sats,
|
||||
|
||||
Reference in New Issue
Block a user