mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
pyln-testing: remove deprecated fund_channel
This method is no longer used in cln nor in the plugins repo. Changelog-None
This commit is contained in:
committed by
Rusty Russell
parent
f4b8a401cd
commit
407d4d2922
@@ -973,11 +973,6 @@ class LightningNode(object):
|
||||
|
||||
self.start()
|
||||
|
||||
def fund_channel(self, l2, amount, wait_for_active=True, announce_channel=True):
|
||||
warnings.warn("LightningNode.fund_channel is deprecated in favor of "
|
||||
"LightningNode.fundchannel", category=DeprecationWarning)
|
||||
return self.fundchannel(l2, amount, wait_for_active, announce_channel)
|
||||
|
||||
def fundchannel(self, l2, amount=FUNDAMOUNT, wait_for_active=True,
|
||||
announce_channel=True, **kwargs):
|
||||
# Give yourself some funds to work with
|
||||
|
||||
Reference in New Issue
Block a user