pyln-testing: fundbalancedchannel default total_capacity to FUNDAMOUNT

This commit is contained in:
Michael Schmoock 2023-02-13 18:14:31 +01:00 committed by Rusty Russell
parent 407d4d2922
commit fb0027e314

View File

@ -868,7 +868,7 @@ class LightningNode(object):
self.daemon.wait_for_log('Owning output .* txid {} CONFIRMED'.format(txid))
return addr, txid
def fundbalancedchannel(self, remote_node, total_capacity, announce=True):
def fundbalancedchannel(self, remote_node, total_capacity=FUNDAMOUNT, announce=True):
'''
Creates a perfectly-balanced channel, as all things should be.
'''