From 5d476992f2fd662969238b6192b7020cbaaf383f Mon Sep 17 00:00:00 2001 From: jouzo <15011228+Jouzo@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:00:52 +0100 Subject: [PATCH] Update gArgs access --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 92920101b3..d9c605d1f4 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -2447,7 +2447,7 @@ bool AppInitMain(InitInterfaces& interfaces) } // bind ocean REST addresses - if (gArgs.GetBoolArg("-oceanarchiverest", DEFAULT_OCEAN_SERVER_ENABLED)) { + if (gArgs.GetBoolArg("-oceanarchiveserver", DEFAULT_OCEAN_SERVER_ENABLED)) { // bind ocean addresses for (auto it = ocean_endpoints.begin(); it != ocean_endpoints.end(); ++it) { LogPrint(BCLog::HTTP, "Binding ocean server on endpoint %s\n", *it);