plugins/topology: add direction field to listchannels.
It's a core concept in the spec which isn't directly exposed. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Added: JSON-RPC: `listchannels` added a `direction` field (0 or 1) as per gossip specification.
This commit is contained in:
committed by
Alex Myers
parent
611795beee
commit
9ab488fc41
@@ -545,6 +545,7 @@
|
||||
"ListChannels.channels[].channel_flags": 7,
|
||||
"ListChannels.channels[].delay": 12,
|
||||
"ListChannels.channels[].destination": 2,
|
||||
"ListChannels.channels[].direction": 16,
|
||||
"ListChannels.channels[].features": 15,
|
||||
"ListChannels.channels[].fee_per_millionth": 11,
|
||||
"ListChannels.channels[].htlc_maximum_msat": 14,
|
||||
|
||||
Reference in New Issue
Block a user