aboutsummaryrefslogtreecommitdiff
path: root/src/cuckoocache.h
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2022-07-01 00:08:14 -0400
committerCarl Dong <contact@carldong.me>2022-08-03 12:03:28 -0400
commit0f3a2532c38074dd9789d1c4c667db6ca46ff0ab (patch)
treee45ce50c4efda6ac38aa3dfeeb18dae4e2ecc8d0 /src/cuckoocache.h
parent41c5201a90bbc2893333e334e8945759ef24e7dd (diff)
downloadbitcoin-0f3a2532c38074dd9789d1c4c667db6ca46ff0ab.tar.xz
validationcaches: Use size_t for sizes
...also move the 0-clamping logic to ApplyArgsManOptions, where it belongs.
Diffstat (limited to 'src/cuckoocache.h')
-rw-r--r--src/cuckoocache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuckoocache.h b/src/cuckoocache.h
index b5da87136d..61f553806e 100644
--- a/src/cuckoocache.h
+++ b/src/cuckoocache.h
@@ -328,7 +328,7 @@ public:
}
/** setup initializes the container to store no more than new_size
- * elements.
+ * elements and no less than 2 elements.
*
* setup should only be called once.
*