diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:20:17 +0900 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-04-14 16:20:17 +0900 |
commit | da277e17b54b307b704597ccbae2bc35ef28e238 (patch) | |
tree | 0ad9acc31c93781c86edb5408cf8364abbbf0055 /src/cryptonote_core | |
parent | Merge pull request #791 (diff) | |
parent | tx_pool: ensure no txes that fail check_inputs get in the block template (diff) | |
download | monero-da277e17b54b307b704597ccbae2bc35ef28e238.tar.xz |
Merge pull request #796
d817aec tx_pool: ensure no txes that fail check_inputs get in the block template (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core')
-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)) |