mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #511
66849ac
simplewallet: swap colors in show_transfers (moneromooo-monero)
This commit is contained in:
commit
8289975e22
1 changed files with 1 additions and 1 deletions
|
@ -2193,7 +2193,7 @@ bool simple_wallet::show_transfers(const std::vector<std::string> &args_)
|
||||||
|
|
||||||
// print in and out sorted by height
|
// print in and out sorted by height
|
||||||
for (std::map<uint64_t, std::pair<bool, std::string>>::const_iterator i = output.begin(); i != output.end(); ++i) {
|
for (std::map<uint64_t, std::pair<bool, std::string>>::const_iterator i = output.begin(); i != output.end(); ++i) {
|
||||||
message_writer(i->second.first ? epee::log_space::console_color_magenta : epee::log_space::console_color_green, false) <<
|
message_writer(i->second.first ? epee::log_space::console_color_green : epee::log_space::console_color_magenta, false) <<
|
||||||
boost::format("%8.8llu %6.6s %s") %
|
boost::format("%8.8llu %6.6s %s") %
|
||||||
((unsigned long long)i->first) % (i->second.first ? tr("in") : tr("out")) % i->second.second;
|
((unsigned long long)i->first) % (i->second.first ? tr("in") : tr("out")) % i->second.second;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue