1
0
Fork 0
forked from lthn/blockchain

fixed bug with compilation

This commit is contained in:
cryptozoidberg 2022-04-12 19:12:28 +02:00
parent 5f72b1c5ea
commit 2e2a4861a7
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -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<bool>, 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();