TransactionHistory continued

This commit is contained in:
Ilya Kitaev 2016-05-05 21:30:25 +03:00
parent 93119344ec
commit 71131a84ea

View File

@ -2641,10 +2641,6 @@ bool simple_wallet::show_transfers(const std::vector<std::string> &args_)
return true; return true;
} }
if (in) {
}
// optional in/out selector // optional in/out selector
if (local_args.size() > 0) { if (local_args.size() > 0) {
if (local_args[0] == "in" || local_args[0] == "incoming") { if (local_args[0] == "in" || local_args[0] == "incoming") {
@ -2706,7 +2702,6 @@ bool simple_wallet::show_transfers(const std::vector<std::string> &args_)
} }
} }
if (out) { if (out) {
std::list<std::pair<crypto::hash, tools::wallet2::confirmed_transfer_details>> payments; std::list<std::pair<crypto::hash, tools::wallet2::confirmed_transfer_details>> payments;
m_wallet->get_payments_out(payments, min_height, max_height); m_wallet->get_payments_out(payments, min_height, max_height);