Browse Source

nit,df test plugin: change up how feerate is formatted

Suggested-by: @cdecker
fix-mocks
niftynei 4 years ago
committed by neil saitug
parent
commit
78d32b12d0
  1. 4
      tests/plugins/df_accepter.py

4
tests/plugins/df_accepter.py

@ -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…
Cancel
Save