From 407d4d2922a775c85c1855a6560e42184f9e7c88 Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Mon, 13 Feb 2023 18:08:54 +0100 Subject: [PATCH] pyln-testing: remove deprecated fund_channel This method is no longer used in cln nor in the plugins repo. Changelog-None --- contrib/pyln-testing/pyln/testing/utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/contrib/pyln-testing/pyln/testing/utils.py b/contrib/pyln-testing/pyln/testing/utils.py index afbd73733..a9bb2d3be 100644 --- a/contrib/pyln-testing/pyln/testing/utils.py +++ b/contrib/pyln-testing/pyln/testing/utils.py @@ -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