Skip to content

Commit

Permalink
test: remove deprecated API allowance flag
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
YusukeShimizu committed Dec 18, 2024
1 parent 4a17a06 commit 7b677b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion testframework/clightning.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7b677b5

Please sign in to comment.