From 7b677b5b3240292d6c658d7ba486996d3a336dfd Mon Sep 17 00:00:00 2001 From: bruwbird Date: Thu, 19 Dec 2024 06:38:06 +0900 Subject: [PATCH] test: remove deprecated API allowance flag Remove the '--allow-deprecated-apis=true' flag from the CLightningNode initialization in the test framework. This will increase the possibility of detecting problems before they occur, as support for the deprecated cln api is no longer available. --- testframework/clightning.go | 1 - 1 file changed, 1 deletion(-) diff --git a/testframework/clightning.go b/testframework/clightning.go index 05e60f72..ef5b5678 100644 --- a/testframework/clightning.go +++ b/testframework/clightning.go @@ -84,7 +84,6 @@ func NewCLightningNode(testDir string, bitcoin *BitcoinNode, id int) (*CLightnin fmt.Sprintf("--bitcoin-rpcport=%s", bitcoinRpcPort), fmt.Sprintf("--bitcoin-datadir=%s", bitcoin.DataDir), fmt.Sprintf("--developer"), - fmt.Sprintf("--allow-deprecated-apis=true"), } // socketPath := filepath.Join(networkDir, "lightning-rpc")