Merge pull request #9218

7815023 tx_memory_pool: make double spends a no-drop offense (jeffro256)
This commit is contained in:
luigi1111 2024-03-08 10:43:20 -05:00
commit c23951f339
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
1 changed files with 1 additions and 0 deletions

View File

@ -246,6 +246,7 @@ namespace cryptonote
LOG_PRINT_L1("Transaction with id= "<< id << " used already spent key images"); LOG_PRINT_L1("Transaction with id= "<< id << " used already spent key images");
tvc.m_verifivation_failed = true; tvc.m_verifivation_failed = true;
tvc.m_double_spend = true; tvc.m_double_spend = true;
tvc.m_no_drop_offense = true;
return false; return false;
} }
} }