diff options
author | Carl Dong <contact@carldong.me> | 2022-07-01 00:08:14 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2022-08-03 12:03:28 -0400 |
commit | 0f3a2532c38074dd9789d1c4c667db6ca46ff0ab (patch) | |
tree | e45ce50c4efda6ac38aa3dfeeb18dae4e2ecc8d0 /src/cuckoocache.h | |
parent | 41c5201a90bbc2893333e334e8945759ef24e7dd (diff) | |
download | bitcoin-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.h | 2 |
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. * |