mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
[trivial/doc] Fix comment type
This commit is contained in:
parent
8f30260a67
commit
9e1cb1adf1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue