diff --git a/src/wallet/core_default_rpc_proxy.cpp b/src/wallet/core_default_rpc_proxy.cpp index 7035b57c..ae7ff6ea 100644 --- a/src/wallet/core_default_rpc_proxy.cpp +++ b/src/wallet/core_default_rpc_proxy.cpp @@ -56,7 +56,7 @@ namespace tools { return call_request([&]() { #ifdef MOBILE_WALLET_BUILD - LOG_PRINT_L0("[INVOKE_PROXY] ---> " << method_name) + LOG_PRINT_L0("[INVOKE_PROXY] ---> " << uri) #endif const epee::net_utils::http::http_response_info* response = nullptr; @@ -67,7 +67,7 @@ namespace tools response_code = response->m_response_code; } #ifdef MOBILE_WALLET_BUILD - LOG_PRINT_L0("[INVOKE_PROXY] <---" << method_name) + LOG_PRINT_L0("[INVOKE_PROXY] <---" << uri) #endif return res; }); diff --git a/src/wallet/wallets_manager.cpp b/src/wallet/wallets_manager.cpp index 045ba196..33d1cb03 100644 --- a/src/wallet/wallets_manager.cpp +++ b/src/wallet/wallets_manager.cpp @@ -573,6 +573,7 @@ bool wallets_manager::init_local_daemon() std::string wallets_manager::setup_wallet_rpc(const std::string& jwt_secret) { +#ifndef MOBILE_WALLET_BUILD if (!jwt_secret.size()) { //disabling wallet RPC @@ -585,6 +586,7 @@ std::string wallets_manager::setup_wallet_rpc(const std::string& jwt_secret) m_wallet_rpc_server.set_jwt_secret(jwt_secret); m_rpc_server.set_rpc_chain_handler(this); +#endif return WALLET_RPC_STATUS_OK; }