diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2020-05-23 12:23:22 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2020-05-25 11:27:07 -0700 |
commit | 9e1cb1adf1800efe429e348650931f2669b0d2c0 (patch) | |
tree | 6622ef2cd88e4c5c2d9640beb7b99b34cad67fe2 /src/txmempool.h | |
parent | 8f30260a67166a6ab7c0f33f7ec1990d3c31761e (diff) |
[trivial/doc] Fix comment type
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index fd762565e8..583f7614b7 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -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); |