Fix comment to reference cluster limits, not chain limits
This commit is contained in:
1 parent
a1b341ef98
commit
d97d6199ce
1 file changed
+1
-1
+1
-1
@@ -783,7 +783,7 @@ void CTxMemPool::RemoveStaged(setEntries &stage, MemPoolRemovalReason reason) {
|
|||||||
bool CTxMemPool::CheckPolicyLimits(const CTransactionRef& tx)
|
bool CTxMemPool::CheckPolicyLimits(const CTransactionRef& tx)
|
||||||
{
|
{
|
||||||
LOCK(cs);
|
LOCK(cs);
|
||||||
// Use ChangeSet interface to check whether the chain
|
// Use ChangeSet interface to check whether the cluster count
|
||||||
// limits would be violated. Note that the changeset will be destroyed
|
// limits would be violated. Note that the changeset will be destroyed
|
||||||
// when it goes out of scope.
|
// when it goes out of scope.
|
||||||
auto changeset = GetChangeSet();
|
auto changeset = GetChangeSet();
|
||||||
|
|||||||
Reference in new issue
Block a user