Merge pull request #4885

b5573fc2 wallet2: resume processing when tx extra is partially broken (stoffu)
This commit is contained in:
Riccardo Spagni 2018-12-04 17:31:27 +02:00
commit 6e74aa9a6c
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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
LOG_PRINT_L0("Transaction extra has unsupported format: " << txid);
tx_cache_data.tx_extra_fields.clear();
return;
if (tx_cache_data.tx_extra_fields.empty())
return;
}
// Don't try to extract tx public key if tx has no ouputs