mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
nit,df test plugin: change up how feerate is formatted
Suggested-by: @cdecker
This commit is contained in:
parent
ff090ecfe6
commit
78d32b12d0
1 changed files with 3 additions and 1 deletions
|
@ -76,7 +76,9 @@ def on_openchannel(openchannel2, plugin, **kwargs):
|
|||
if not feerate:
|
||||
return {'result': 'continue'}
|
||||
|
||||
funding = plugin.rpc.fundpsbt(amount, ''.join([str(feerate), 'perkw']), 0, reserve=True,
|
||||
funding = plugin.rpc.fundpsbt(amount,
|
||||
'{}perkw'.format(feerate),
|
||||
0, reserve=True,
|
||||
locktime=locktime)
|
||||
psbt_obj = psbt_from_base64(funding['psbt'])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue