diff options
author | stoffu <stoffu@protonmail.ch> | 2018-01-17 10:25:24 +0900 |
---|---|---|
committer | stoffu <stoffu@protonmail.ch> | 2018-01-26 10:59:32 +0900 |
commit | 3160a93027cf34385f0f2dc7a0ed572b9679d69e (patch) | |
tree | 15d0e0d615a70daf0d694f6a09dbb62364e0e82f /src/simplewallet | |
parent | wallet2: make scan_output const and omit keys arg (diff) | |
download | monero-3160a93027cf34385f0f2dc7a0ed572b9679d69e.tar.xz |
wallet2: remove {set|get}_default_decimal_point and use the same funcs under cryptonote:: instead
Diffstat (limited to 'src/simplewallet')
-rw-r--r-- | src/simplewallet/simplewallet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index b6b6da441..5ab01a0b7 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1384,7 +1384,7 @@ bool simple_wallet::set_unit(const std::vector<std::string> &args/* = std::vecto const auto pwd_container = get_and_verify_password(); if (pwd_container) { - m_wallet->set_default_decimal_point(decimal_point); + cryptonote::set_default_decimal_point(decimal_point); m_wallet->rewrite(m_wallet_file, pwd_container->password()); } return true; @@ -1818,7 +1818,7 @@ bool simple_wallet::set_variable(const std::vector<std::string> &args) success_msg_writer() << "priority = " << m_wallet->get_default_priority(); success_msg_writer() << "confirm-missing-payment-id = " << m_wallet->confirm_missing_payment_id(); success_msg_writer() << "ask-password = " << m_wallet->ask_password(); - success_msg_writer() << "unit = " << cryptonote::get_unit(m_wallet->get_default_decimal_point()); + success_msg_writer() << "unit = " << cryptonote::get_unit(cryptonote::get_default_decimal_point()); success_msg_writer() << "min-outputs-count = " << m_wallet->get_min_output_count(); success_msg_writer() << "min-outputs-value = " << cryptonote::print_money(m_wallet->get_min_output_value()); success_msg_writer() << "merge-destinations = " << m_wallet->merge_destinations(); |