Output channel_id in listfunds

Changelog-Added: JSON-RPC: `listfunds` now has a `channel_id` field.
This commit is contained in:
Kristaps Kaupe
2023-02-22 02:26:13 +02:00
committed by Vincenzo Palazzo
parent fca62113f5
commit 906279a46e
8 changed files with 18 additions and 2 deletions

View File

@@ -220,6 +220,7 @@ def listfunds_channels2py(m):
"funding_output": m.funding_output, # PrimitiveField in generate_composite
"connected": m.connected, # PrimitiveField in generate_composite
"state": str(m.state), # EnumField in generate_composite
"channel_id": hexlify(m.channel_id), # PrimitiveField in generate_composite
"short_channel_id": m.short_channel_id, # PrimitiveField in generate_composite
})