Skip to content

Commit 9e1cb1a

Browse files
committed
[trivial/doc] Fix comment type
1 parent 8f30260 commit 9e1cb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/txmempool.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ class CTxMemPool
704704
/** Adds a transaction to the unbroadcast set */
705705
void AddUnbroadcastTx(const uint256& txid) {
706706
LOCK(cs);
707-
/** Sanity Check: the transaction should also be in the mempool */
707+
// Sanity Check: the transaction should also be in the mempool
708708
if (exists(txid)) {
709709
m_unbroadcast_txids.insert(txid);
710710
}
@@ -719,7 +719,7 @@ class CTxMemPool
719719
return m_unbroadcast_txids;
720720
}
721721

722-
// Returns if a txid is in the unbroadcast set
722+
/** Returns whether a txid is in the unbroadcast set */
723723
bool IsUnbroadcastTx(const uint256& txid) const {
724724
LOCK(cs);
725725
return (m_unbroadcast_txids.count(txid) != 0);

0 commit comments

Comments
 (0)