diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-14 17:09:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-20 13:02:53 +0000 |
commit | ae8602303a0285abd28c044309a8456c748b34a3 (patch) | |
tree | c289d780de7b13ba4aa10cfa96e06b09be3742db /src/blockchain_db/blockchain_db.h | |
parent | Merge pull request #2134 (diff) | |
download | monero-ae8602303a0285abd28c044309a8456c748b34a3.tar.xz |
Fix exceptions not finding txpool txes when relaying
Diffstat (limited to 'src/blockchain_db/blockchain_db.h')
-rw-r--r-- | src/blockchain_db/blockchain_db.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blockchain_db/blockchain_db.h b/src/blockchain_db/blockchain_db.h index 88034a927..33c3341fa 100644 --- a/src/blockchain_db/blockchain_db.h +++ b/src/blockchain_db/blockchain_db.h @@ -1333,10 +1333,11 @@ public: * @brief get a txpool transaction's metadata * * @param txid the transaction id of the transation to lookup + * @param meta the metadata to return * - * @return the metadata associated with that transaction + * @return true if the tx meta was found, false otherwise */ - virtual txpool_tx_meta_t get_txpool_tx_meta(const crypto::hash& txid) const = 0; + virtual bool get_txpool_tx_meta(const crypto::hash& txid, txpool_tx_meta_t &meta) const = 0; /** * @brief get a txpool transaction's blob |