diff --git a/modules/clightning-rest.nix b/modules/clightning-rest.nix index 82141aa..5166671 100644 --- a/modules/clightning-rest.nix +++ b/modules/clightning-rest.nix @@ -97,6 +97,7 @@ in { Restart = "on-failure"; RestartSec = "10s"; ReadWritePaths = [ cfg.dataDir ]; + inherit (nbLib.allowNetlink) RestrictAddressFamilies; } // nbLib.allowedIPAddresses cfg.tor.enforce // nbLib.nodejs; }; diff --git a/test/tests.py b/test/tests.py index b9795dc..bba2dd0 100644 --- a/test/tests.py +++ b/test/tests.py @@ -248,7 +248,7 @@ def _(): def _(): assert_running("clightning-rest") machine.wait_until_succeeds( - log_has_string("clightning-rest", "cl-rest api server is ready and listening on port: 3001") + log_has_string("clightning-rest", "cl-rest api server is ready and listening") ) @test("spark-wallet")