diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-05 13:06:29 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-05 13:06:29 +0100 |
commit | d817aeca80a959d02516b2355b7bdc64f45e7153 (patch) | |
tree | 497366e8d6885dd9937b16ba1b735d1f9582b06a /src/cryptonote_core/tx_pool.cpp | |
parent | Merge pull request #780 (diff) | |
download | monero-d817aeca80a959d02516b2355b7bdc64f45e7153.tar.xz |
tx_pool: ensure no txes that fail check_inputs get in the block template
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index a06826163..3d5ab86e1 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -512,7 +512,7 @@ namespace cryptonote { if(txd.max_used_block_height >= m_blockchain.get_current_blockchain_height()) 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(txd.last_failed_id == m_blockchain.get_block_id_by_height(txd.last_failed_height)) |