mirror of
https://github.com/monero-project/monero.git
synced 2025-07-24 19:05:23 -04:00
Remove unneeded SFINAE on check_tx/block verification in core_tests
This commit is contained in:
parent
37c4f1b365
commit
299052bca3
3 changed files with 28 additions and 77 deletions
|
@ -49,7 +49,7 @@ struct gen_bp_tx_validation_base : public test_chain_unit_base
|
|||
return !tvc.m_verifivation_failed && tx_added;
|
||||
}
|
||||
|
||||
bool check_tx_verification_context(const std::vector<cryptonote::tx_verification_context>& tvcs, size_t tx_added, size_t event_idx, const std::vector<cryptonote::transaction>& /*txs*/)
|
||||
bool check_tx_verification_context_array(const std::vector<cryptonote::tx_verification_context>& tvcs, size_t tx_added, size_t event_idx, const std::vector<cryptonote::transaction>& /*txs*/)
|
||||
{
|
||||
size_t failed = 0;
|
||||
for (const cryptonote::tx_verification_context &tvc: tvcs)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue