Merge pull request #4885

b5573fc2 wallet2: resume processing when tx extra is partially broken (stoffu)
pull/130/head
Riccardo Spagni 6 years ago
commit 6e74aa9a6c
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

@ -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

Loading…
Cancel
Save