We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98ba2b1 commit d8140f5Copy full SHA for d8140f5
src/txmempool.h
@@ -940,7 +940,7 @@ class CCoinsViewMemPool : public CCoinsViewBacked
940
* m_temp_added and cannot be flushed to the back end. Only used for package validation. */
941
void PackageAddTransaction(const CTransactionRef& tx);
942
/** Get all coins in m_non_base_coins. */
943
- std::unordered_set<COutPoint, SaltedOutpointHasher> GetNonBaseCoins() const { return m_non_base_coins; }
+ const std::unordered_set<COutPoint, SaltedOutpointHasher>& GetNonBaseCoins() const { return m_non_base_coins; }
944
/** Clear m_temp_added and m_non_base_coins. */
945
void Reset();
946
};
0 commit comments