1
0
Fork 0
forked from lthn/blockchain

tx pool: fixed potential rare access violation issue

This commit is contained in:
sowle 2020-02-14 15:53:39 +03:00
parent f298afde10
commit 966cb52343
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -1019,7 +1019,7 @@ namespace currency
if (!txs_v[i].second)
{
LOG_ERROR("Internal tx pool db error: key " << k << " was enumerated as key but couldn't get value");
continue;
return false;
}
txs[i] = &txs_v[i];
}