File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
crates/sdk/src/aggregation_layer Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ pub async fn is_proof_verified_on_chain(
130130 let res = contract_provider
131131 . verify_proof_inclusion (
132132 merkle_path,
133- verification_data. proving_system_id ( ) . into ( ) ,
133+ verification_data. proving_system_id ( ) ,
134134 verification_data. program_id ( ) ,
135135 Bytes :: from ( verification_data. public_inputs ( ) . clone ( ) ) ,
136136 )
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ impl AggregationModeVerificationData {
7070 match self {
7171 AggregationModeVerificationData :: SP1 { vk, public_inputs } => {
7272 let mut hasher = Keccak256 :: new ( ) ;
73- hasher. update ( & [ self . proving_system_id ( ) ] ) ;
73+ hasher. update ( [ self . proving_system_id ( ) ] ) ;
7474 hasher. update ( vk) ;
7575 hasher. update ( public_inputs) ;
7676 hasher. finalize ( ) . into ( )
@@ -80,7 +80,7 @@ impl AggregationModeVerificationData {
8080 public_inputs,
8181 } => {
8282 let mut hasher = Keccak256 :: new ( ) ;
83- hasher. update ( & [ self . proving_system_id ( ) ] ) ;
83+ hasher. update ( [ self . proving_system_id ( ) ] ) ;
8484 hasher. update ( image_id) ;
8585 hasher. update ( public_inputs) ;
8686 hasher. finalize ( ) . into ( )
You can’t perform that action at this time.
0 commit comments