From 1c89d4379703e87b6573a4051d19fd879563b922 Mon Sep 17 00:00:00 2001 From: Matias Romeo Date: Wed, 19 Jul 2023 00:08:59 -0300 Subject: [PATCH] Use regular endpoints as the default values in command line options --- src/rpc_plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rpc_plugin.cpp b/src/rpc_plugin.cpp index 9af4985..c36c970 100644 --- a/src/rpc_plugin.cpp +++ b/src/rpc_plugin.cpp @@ -32,11 +32,11 @@ rpc_plugin::~rpc_plugin() {} void rpc_plugin::set_program_options( appbase::options_description& cli, appbase::options_description& cfg ) { cfg.add_options() - ("http-port", boost::program_options::value()->default_value("127.0.0.1:8881"), + ("http-port", boost::program_options::value()->default_value(kDefaultEth1EndPoint), "http port for JSON RPC of the form
:") - ("rpc-engine-port", boost::program_options::value()->default_value("127.0.0.1:8882"), + ("rpc-engine-port", boost::program_options::value()->default_value(kDefaultEngineEndPoint), "engine port for JSON RPC of the form
:") - ("eos-evm-node", boost::program_options::value()->default_value("127.0.0.1:8001"), + ("eos-evm-node", boost::program_options::value()->default_value(kDefaultPrivateApiAddr), "address to eos-evm-node of the form
:") ("rpc-threads", boost::program_options::value()->default_value(16), "number of threads for use with rpc")