[trivial/doc] Fix comment type

This commit is contained in:
Amiti Uttarwar committed 2020-05-25 11:27:07 -07:00
1 parent 8f30260a67
commit 9e1cb1adf1
1 file changed
+2 -2
+2 -2
View File
@@ -704,7 +704,7 @@ public:
/** Adds a transaction to the unbroadcast set */
void AddUnbroadcastTx(const uint256& txid) {
LOCK(cs);
/** Sanity Check: the transaction should also be in the mempool */
// Sanity Check: the transaction should also be in the mempool
if (exists(txid)) {
m_unbroadcast_txids.insert(txid);
}
@@ -719,7 +719,7 @@ public:
return m_unbroadcast_txids;
}
// Returns if a txid is in the unbroadcast set
/** Returns whether a txid is in the unbroadcast set */
bool IsUnbroadcastTx(const uint256& txid) const {
LOCK(cs);
return (m_unbroadcast_txids.count(txid) != 0);