Skip to content

Commit

Permalink
[trivial/doc] Fix comment type
Browse files Browse the repository at this point in the history
  • Loading branch information
amitiuttarwar committed May 25, 2020
1 parent 8f30260 commit 9e1cb1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/txmempool.h
Expand Up @@ -704,7 +704,7 @@ class CTxMemPool
/** 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);
}
Expand All @@ -719,7 +719,7 @@ class CTxMemPool
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);
Expand Down

0 comments on commit 9e1cb1a

Please sign in to comment.