[trivial/doc] Fix comment type

This commit is contained in:
Amiti Uttarwar 2020-05-23 12:23:22 -07:00
parent 8f30260a67
commit 9e1cb1adf1

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);