mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-14 12:10:42 +02:00
[trivial/doc] Fix comment type
This commit is contained in:
parent
8f30260a67
commit
9e1cb1adf1
@ -704,7 +704,7 @@ public:
|
|||||||
/** Adds a transaction to the unbroadcast set */
|
/** Adds a transaction to the unbroadcast set */
|
||||||
void AddUnbroadcastTx(const uint256& txid) {
|
void AddUnbroadcastTx(const uint256& txid) {
|
||||||
LOCK(cs);
|
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)) {
|
if (exists(txid)) {
|
||||||
m_unbroadcast_txids.insert(txid);
|
m_unbroadcast_txids.insert(txid);
|
||||||
}
|
}
|
||||||
@ -719,7 +719,7 @@ public:
|
|||||||
return m_unbroadcast_txids;
|
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 {
|
bool IsUnbroadcastTx(const uint256& txid) const {
|
||||||
LOCK(cs);
|
LOCK(cs);
|
||||||
return (m_unbroadcast_txids.count(txid) != 0);
|
return (m_unbroadcast_txids.count(txid) != 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user