Merge pull request #2082

235df7f4 blockchain_db: add a txpool tx getter which returns existence (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-06-18 17:36:12 +02:00
commit 78f965a9e2
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
7 changed files with 31 additions and 5 deletions

View file

@ -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)
{