From 919dc0307f2df62ccf208ce4ff60249a28a5ed04 Mon Sep 17 00:00:00 2001 From: teor Date: Thu, 4 Feb 2021 08:50:56 +1000 Subject: [PATCH] Rewrite the comment to be more explicit --- zebra-consensus/src/primitives/redjubjub.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zebra-consensus/src/primitives/redjubjub.rs b/zebra-consensus/src/primitives/redjubjub.rs index cab82db4d..38d72f21a 100644 --- a/zebra-consensus/src/primitives/redjubjub.rs +++ b/zebra-consensus/src/primitives/redjubjub.rs @@ -62,9 +62,9 @@ pub struct Verifier { impl Default for Verifier { fn default() -> Self { let batch = batch::Verifier::default(); - // This bound limits the number of concurrent batches. It should be - // big enough to avoid RecvErrors when tasks wait on results for a long - // time. + // This bound limits the number of concurrent batches for this verifier. + // If tasks delay checking for verifier results, and the bound is too small, + // new batches will be rejected with `RecvError`s. let (tx, _) = channel(512); Self { tx, batch } }