simplewallet: use correct unit for fee command

This commit is contained in:
stoffu 2018-05-20 23:16:31 +09:00
parent 4b728d7dd4
commit 18761b372f
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012
1 changed files with 1 additions and 1 deletions

View File

@ -759,7 +759,7 @@ bool simple_wallet::print_fee_info(const std::vector<std::string> &args/* = std:
}
const uint64_t per_kb_fee = m_wallet->get_per_kb_fee();
const uint64_t typical_size_kb = 13;
message_writer() << (boost::format(tr("Current fee is %s monero per kB")) % print_money(per_kb_fee)).str();
message_writer() << (boost::format(tr("Current fee is %s %s per kB")) % print_money(per_kb_fee) % cryptonote::get_unit(cryptonote::get_default_decimal_point())).str();
std::vector<uint64_t> fees;
for (uint32_t priority = 1; priority <= 4; ++priority)