Skip to content

Commit

Permalink
Update gArgs access
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Sep 27, 2024
1 parent 995116b commit 5d47699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5d47699

Please sign in to comment.