df: update the openchannel2 parameter 'accepter' -> 'our'

The `rbf_channel` hook uses `our_funding_msat`, which is a nicer
and more easily understood than the `openchannel2`
`accepter_funding_msat`.

This updates the `openchannel2` hook to use the same nomenclature as
`rbf_channel`.
This commit is contained in:
niftynei
2021-03-10 22:10:52 -06:00
committed by Rusty Russell
parent a60d652517
commit 8182e9cea4
3 changed files with 8 additions and 9 deletions

View File

@@ -115,7 +115,7 @@ def on_openchannel(openchannel2, plugin, **kwargs):
plugin.log("contributing {} at feerate {}".format(amount, proposed_feerate))
return {'result': 'continue', 'psbt': funding['psbt'],
'accepter_funding_msat': amount}
'our_funding_msat': amount}
@plugin.hook('openchannel2_changed')