diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index 7d186418..e9a95b88 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -548,8 +548,10 @@ bool wallets_manager::init_local_daemon() //chain calls to rpc server m_prpc_chain_handler = &m_wallet_rpc_server; - //disable this until we get full support of authentication with network - //m_rpc_server.set_rpc_chain_handler(this); + //disable this for main net until we get full support of authentication with network +#ifdef TESTNET + m_rpc_server.set_rpc_chain_handler(this); +#endif LOG_PRINT_L0("Starting core rpc server...");