forked from lthn/blockchain
fixed bug with compilation
This commit is contained in:
parent
5f72b1c5ea
commit
2e2a4861a7
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue