mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-29 16:58:06 +00:00
Merge pull request #1836
cd71774d
tx_pool: log separately "not ready" and "double spend" cases (moneromooo-monero)
This commit is contained in:
commit
f2d0f0174f
1 changed files with 8 additions and 2 deletions
|
@ -671,9 +671,15 @@ namespace cryptonote
|
|||
// Skip transactions that are not ready to be
|
||||
// included into the blockchain or that are
|
||||
// missing key images
|
||||
if (!is_transaction_ready_to_go(tx_it->second) || have_key_images(k_images, tx_it->second.tx))
|
||||
if (!is_transaction_ready_to_go(tx_it->second))
|
||||
{
|
||||
LOG_PRINT_L2(" not ready to go, or key images already seen");
|
||||
LOG_PRINT_L2(" not ready to go");
|
||||
sorted_it++;
|
||||
continue;
|
||||
}
|
||||
if (have_key_images(k_images, tx_it->second.tx))
|
||||
{
|
||||
LOG_PRINT_L2(" key images already seen");
|
||||
sorted_it++;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue