mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-22 15:32:24 +00:00
return for unhandleable tx_extra
This commit is contained in:
parent
cf8fe28676
commit
56bb9591a5
1 changed files with 4 additions and 0 deletions
|
@ -41,8 +41,12 @@ void wallet2::process_new_transaction(const cryptonote::transaction& tx, uint64_
|
||||||
|
|
||||||
// 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
|
||||||
|
if (!r) return;
|
||||||
|
|
||||||
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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue