File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
mithril-stm/src/aggregate_signature Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -268,10 +268,10 @@ mod tests {
268268 assert!( n < & params. k && k == & params. k)
269269 } ,
270270 Some ( AggregationError :: UnsupportedProofSystem ( aggregate_signature_type) ) => {
271- println !( "Unsupported proof system: {:?}" , aggregate_signature_type) ;
271+ panic !( "Unsupported proof system: {:?}" , aggregate_signature_type) ;
272272 } ,
273273 _ => {
274- println !( "Unexpected error during aggregation: {:?}" , error) ;
274+ panic !( "Unexpected error during aggregation: {:?}" , error) ;
275275 }
276276 } ,
277277 }
Original file line number Diff line number Diff line change 1- use anyhow:: anyhow;
21use std:: collections:: HashMap ;
32use std:: fmt:: Display ;
43use std:: hash:: Hash ;
54
5+ use anyhow:: anyhow;
66use blake2:: digest:: { Digest , FixedOutput } ;
77use serde:: { Deserialize , Serialize } ;
88
@@ -147,7 +147,7 @@ impl<D: Clone + Digest + FixedOutput + Send + Sync> AggregateSignature<D> {
147147 ) ) ,
148148 }
149149 } )
150- . map_err ( |_| anyhow ! ( AggregateSignatureError :: BatchInvalid ) )
150+
151151 }
152152
153153 /// Convert an aggregate signature to bytes
You can’t perform that action at this time.
0 commit comments