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:
Michael Schmoock
2023-02-13 18:08:54 +01:00
committed by Rusty Russell
parent f4b8a401cd
commit 407d4d2922

View File

@@ -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