simplewallet: do nothing in on_skip_transaction (wallet2 already logs warnings)

This commit is contained in:
stoffu 2018-02-14 00:21:39 +09:00
parent ed67e5c001
commit da25757b42
No known key found for this signature in database
GPG Key ID: 41DAB8343A9EC012
1 changed files with 0 additions and 8 deletions

View File

@ -3187,14 +3187,6 @@ void simple_wallet::on_money_spent(uint64_t height, const crypto::hash &txid, co
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
void simple_wallet::on_skip_transaction(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx) void simple_wallet::on_skip_transaction(uint64_t height, const crypto::hash &txid, const cryptonote::transaction& tx)
{ {
message_writer(console_color_red, true) << "\r" <<
tr("Height ") << height << ", " <<
tr("transaction ") << txid << ", " <<
tr("unsupported transaction format");
if (m_auto_refresh_refreshing)
m_cmd_binder.print_prompt();
else
m_refresh_progress_reporter.update(height, true);
} }
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
bool simple_wallet::refresh_main(uint64_t start_height, bool reset, bool is_init) bool simple_wallet::refresh_main(uint64_t start_height, bool reset, bool is_init)