mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
tx_pool: ensure no txes that fail check_inputs get in the block template
This commit is contained in:
parent
e7c8a32a28
commit
d817aeca80
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
if(txd.max_used_block_height >= m_blockchain.get_current_blockchain_height())
|
if(txd.max_used_block_height >= m_blockchain.get_current_blockchain_height())
|
||||||
return false;
|
return false;
|
||||||
if(m_blockchain.get_block_id_by_height(txd.max_used_block_height) != txd.max_used_block_id)
|
if(true)
|
||||||
{
|
{
|
||||||
//if we already failed on this height and id, skip actual ring signature check
|
//if we already failed on this height and id, skip actual ring signature check
|
||||||
if(txd.last_failed_id == m_blockchain.get_block_id_by_height(txd.last_failed_height))
|
if(txd.last_failed_id == m_blockchain.get_block_id_by_height(txd.last_failed_height))
|
||||||
|
|
Loading…
Reference in a new issue