mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 23:54:22 +01:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user