From 2e2a4861a722cbed51d92efd0e4e76ac1b51108e Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Tue, 12 Apr 2022 19:12:28 +0200 Subject: [PATCH] fixed bug with compilation --- src/gui/qt-daemon/application/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/qt-daemon/application/mainwindow.cpp b/src/gui/qt-daemon/application/mainwindow.cpp index 88cb6cdd..030a8d20 100644 --- a/src/gui/qt-daemon/application/mainwindow.cpp +++ b/src/gui/qt-daemon/application/mainwindow.cpp @@ -1665,15 +1665,15 @@ QString MainWindow::get_log_level(const QString& param) CATCH_ENTRY_FAIL_API_RESPONCE(); } -QString set_enable_tor(const QString& param) +QString MainWindow::set_enable_tor(const QString& param) { TRY_ENTRY(); LOG_API_TIMING(); PREPARE_ARG_FROM_JSON(currency::struct_with_one_t_type, enabl_tor); - m_backend. + m_backend.set_use_tor(enabl_tor.v); //epee::log_space::get_set_log_detalisation_level(true, enabl_tor.v); default_ar.error_code = API_RETURN_CODE_OK; - LOG_PRINT("[LOG LEVEL]: set to " << lvl.v, LOG_LEVEL_MIN); + LOG_PRINT("[TOR]: Enable TOR set to " << enabl_tor.v, LOG_LEVEL_MIN); return MAKE_RESPONSE(default_ar); CATCH_ENTRY_FAIL_API_RESPONCE();