Reverting wallet2.cpp to proper bugfix

This commit is contained in:
monero-project 2014-04-30 16:42:00 -04:00
parent 8658f20232
commit 504bdddcb5
1 changed files with 0 additions and 5 deletions

View File

@ -38,18 +38,13 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, uint64_
uint64_t tx_money_got_in_outs = 0; uint64_t tx_money_got_in_outs = 0;
crypto::public_key tx_pub_key = null_pkey; crypto::public_key tx_pub_key = null_pkey;
bool r = parse_and_validate_tx_extra(tx, tx_pub_key); bool r = parse_and_validate_tx_extra(tx, tx_pub_key);
<<<<<<< HEAD
// THROW_WALLET_EXCEPTION_IF(!r, error::tx_extra_parse_error, tx);
=======
// Temporarily disabled due to messed up tx_extra from someone // Temporarily disabled due to messed up tx_extra from someone
// screwing around with MMing. 2014-04-30 // screwing around with MMing. 2014-04-30
// THROW_WALLET_EXCEPTION_IF(!r, error::tx_extra_parse_error, tx); // THROW_WALLET_EXCEPTION_IF(!r, error::tx_extra_parse_error, tx);
// We don't know how to handle this weird tx, so return // We don't know how to handle this weird tx, so return
if (!r) return; if (!r) return;
>>>>>>> 9c70be0e77c3e0b9f4a06c962203d049851b6cc5
r = lookup_acc_outs(m_account.get_keys(), tx, tx_pub_key, outs, tx_money_got_in_outs); r = lookup_acc_outs(m_account.get_keys(), tx, tx_pub_key, outs, tx_money_got_in_outs);
THROW_WALLET_EXCEPTION_IF(!r, error::acc_outs_lookup_error, tx, tx_pub_key, m_account.get_keys()); THROW_WALLET_EXCEPTION_IF(!r, error::acc_outs_lookup_error, tx, tx_pub_key, m_account.get_keys());