[trivial] Remove misleading 'const'

Returning by const value is only meaningful in a specific circumstance around
user defined types. In this case, the const is not enforcing any restrictions
on the call site, so is misleading.
This commit is contained in:
Amiti Uttarwar committed 2020-05-25 11:27:07 -07:00
1 parent fa32e676e5
commit 750456d6f2
1 file changed
+1 -1
+1 -1
View File
@@ -714,7 +714,7 @@ public:
void RemoveUnbroadcastTx(const uint256& txid, const bool unchecked = false);
/** Returns transactions in unbroadcast set */
const std::set<uint256> GetUnbroadcastTxs() const {
std::set<uint256> GetUnbroadcastTxs() const {
LOCK(cs);
return m_unbroadcast_txids;
}