File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ use crate::frost::Field;
15
15
use crate :: frost:: Identifier ;
16
16
use crate :: frost:: JubjubScalarField ;
17
17
use crate :: multienc;
18
- use crate :: multienc:: read_encrypted_blob;
19
18
use crate :: participant;
20
19
use crate :: participant:: Identity ;
21
20
use crate :: serde:: read_u16;
@@ -297,8 +296,8 @@ where
297
296
return Err ( IronfishFrostError :: InvalidInput ) ;
298
297
}
299
298
300
- let max_signers = u16 :: try_from ( participants . len ( ) )
301
- . map_err ( |_| IronfishFrostError :: InvalidInput ( "too many participants" . to_string ( ) ) ) ?;
299
+ let max_signers =
300
+ u16 :: try_from ( participants . len ( ) ) . map_err ( |_| IronfishFrostError :: InvalidInput ) ?;
302
301
303
302
let ( secret_package, public_package) = frost:: keys:: dkg:: part1 (
304
303
self_identity. to_frost_identifier ( ) ,
You can’t perform that action at this time.
0 commit comments