openchannel2: add channel_max_msat to openchannel2 hook payload

Changelog-Added: Plugins: add a `channel_max_msat` value to the `openchannel2` hook. Tells you the total max funding this channel is allowed to have.
This commit is contained in:
niftynei
2021-04-20 16:56:07 -05:00
committed by Rusty Russell
parent 382264e207
commit 7c76363e20
3 changed files with 13 additions and 0 deletions

View File

@@ -606,6 +606,7 @@ def test_openchannel_hook(node_factory, bitcoind):
'feerate_our_min': '1875',
'locktime': '.*',
'their_funding': '100000000msat',
'channel_max_msat': '16777215000msat',
})
else:
expected.update({