diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-06-18 17:36:12 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-06-18 17:36:12 +0200 |
commit | 78f965a9e23145f0e1f3abb422cbd4ea24654cd8 (patch) | |
tree | 81ff2d7b170da4620138fdea89ccae17632c2aea /src/cryptonote_core/tx_pool.cpp | |
parent | Merge pull request #2081 (diff) | |
parent | blockchain_db: add a txpool tx getter which returns existence (diff) | |
download | monero-78f965a9e23145f0e1f3abb422cbd4ea24654cd8.tar.xz |
Merge pull request #2082
235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/tx_pool.cpp')
-rw-r--r-- | src/cryptonote_core/tx_pool.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cryptonote_core/tx_pool.cpp b/src/cryptonote_core/tx_pool.cpp index 589162a3e..ffb5b478b 100644 --- a/src/cryptonote_core/tx_pool.cpp +++ b/src/cryptonote_core/tx_pool.cpp @@ -673,8 +673,7 @@ namespace cryptonote CRITICAL_REGION_LOCAL1(m_blockchain); try { - txblob = m_blockchain.get_txpool_tx_blob(id); - return true; + return m_blockchain.get_txpool_tx_blob(id, txblob); } catch (const std::exception &e) { |