Skip to content

Commit 9320f76

Browse files
Remove extra as_slice conversion in ProofAggregator build
1 parent e634e58 commit 9320f76

File tree

1 file changed

+0
-2
lines changed
  • aggregation_mode/src/backend

1 file changed

+0
-2
lines changed

aggregation_mode/src/backend/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@ impl ProofAggregator {
7171
let sp1_chunk_aggregator_vk_hash_bytes: [u8; 32] =
7272
hex::decode(&config.sp1_chunk_aggregator_vk_hash)
7373
.expect("Failed to decode SP1 chunk aggregator VK hash")
74-
.as_slice()
7574
.try_into()
7675
.expect("SP1 chunk aggregator VK hash must be 32 bytes");
7776

7877
let risc0_chunk_aggregator_image_id_bytes: [u8; 32] =
7978
hex::decode(&config.risc0_chunk_aggregator_image_id)
8079
.expect("Failed to decode Risc0 chunk aggregator image id")
81-
.as_slice()
8280
.try_into()
8381
.expect("Risc0 chunk aggregator image id must be 32 bytes");
8482

0 commit comments

Comments
 (0)