mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
Merge pull request #4885
b5573fc2
wallet2: resume processing when tx extra is partially broken (stoffu)
This commit is contained in:
commit
6e74aa9a6c
@ -1382,8 +1382,8 @@ void wallet2::cache_tx_data(const cryptonote::transaction& tx, const crypto::has
|
|||||||
{
|
{
|
||||||
// Extra may only be partially parsed, it's OK if tx_extra_fields contains public key
|
// Extra may only be partially parsed, it's OK if tx_extra_fields contains public key
|
||||||
LOG_PRINT_L0("Transaction extra has unsupported format: " << txid);
|
LOG_PRINT_L0("Transaction extra has unsupported format: " << txid);
|
||||||
tx_cache_data.tx_extra_fields.clear();
|
if (tx_cache_data.tx_extra_fields.empty())
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't try to extract tx public key if tx has no ouputs
|
// Don't try to extract tx public key if tx has no ouputs
|
||||||
|
Loading…
Reference in New Issue
Block a user