From c405d6937ec166229017313e41b66a8f59d68e28 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 29 Aug 2024 11:13:23 -0700 Subject: [PATCH] better error annotation --- blssig/aggregation.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blssig/aggregation.go b/blssig/aggregation.go index f3452d8e..615dcad4 100644 --- a/blssig/aggregation.go +++ b/blssig/aggregation.go @@ -127,7 +127,7 @@ func (v *Verifier) Aggregate(pubkeys []gpbft.PubKey) (_agg gpbft.Aggregate, _err } cmask, err := bdn.NewCachedMask(mask) if err != nil { - return nil, fmt.Errorf("creating key mask: %w", err) + return nil, fmt.Errorf("creating cached bdn mask: %w", err) } return &aggregation{ mask: cmask,