File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aggregation_mode/src/aggregators Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ pub const RISC0_CHUNK_AGGREGATOR_PROGRAM_ID_BYTES: [u8; 32] = {
8181impl Risc0ProofReceiptAndImageId {
8282 pub fn hash_image_id_and_public_inputs ( & self ) -> [ u8 ; 32 ] {
8383 let mut hasher = Keccak256 :: new ( ) ;
84- hasher. update ( & [ AggregationModeProvingSystem :: RISC0 . id ( ) ] ) ;
84+ hasher. update ( [ AggregationModeProvingSystem :: RISC0 . id ( ) ] ) ;
8585 hasher. update ( self . image_id ) ;
8686 hasher. update ( self . public_inputs ( ) ) ;
8787 hasher. finalize ( ) . into ( )
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ impl SP1ProofWithPubValuesAndElf {
6464
6565 pub fn hash_vk_and_pub_inputs ( & self ) -> [ u8 ; 32 ] {
6666 let mut hasher = Keccak256 :: new ( ) ;
67- hasher. update ( & [ AggregationModeProvingSystem :: SP1 . id ( ) ] ) ;
67+ hasher. update ( [ AggregationModeProvingSystem :: SP1 . id ( ) ] ) ;
6868 let vk_bytes = & self . vk . hash_bytes ( ) ;
6969 hasher. update ( vk_bytes) ;
7070 hasher. update ( self . proof_with_pub_values . public_values . as_slice ( ) ) ;
You can’t perform that action at this time.
0 commit comments