Update per-block processing for new AggPub wrapper
AggregatePublicKey newtype was introduced in previous commit
This commit is contained in:
		
							parent
							
								
									35ae1b6745
								
							
						
					
					
						commit
						3561d44cbe
					
				| @ -383,11 +383,7 @@ fn validate_attestation_signature_optional( | ||||
|         ); | ||||
|         let mut group_public_key = AggregatePublicKey::new(); | ||||
|         for participant in participants { | ||||
|             group_public_key.add( | ||||
|                 state.validator_registry[participant as usize] | ||||
|                     .pubkey | ||||
|                     .as_raw(), | ||||
|             ) | ||||
|             group_public_key.add(&state.validator_registry[participant as usize].pubkey) | ||||
|         } | ||||
|         ensure!( | ||||
|             attestation.verify_signature( | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user