From 4bed67218aaeb0e28bc4e40910f27cc64fc68f42 Mon Sep 17 00:00:00 2001 From: str4d Date: Thu, 23 Jun 2022 22:33:40 +0100 Subject: [PATCH] Add note about relationship between signatures and proofs Co-authored-by: Daira Hopwood --- src/bundle/batch.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bundle/batch.rs b/src/bundle/batch.rs index 4fee9590..c60d0cd5 100644 --- a/src/bundle/batch.rs +++ b/src/bundle/batch.rs @@ -69,6 +69,8 @@ impl BatchValidator { pub fn validate(self, vk: &VerifyingKey, rng: R) -> bool { if self.signatures.is_empty() { // An empty batch is always valid, but is not free to run; skip it. + // Note that a transaction has at least a binding signature, so if + // there are no signatures, there are also no proofs. return true; }