Skip to content

Commit b137020

Browse files
committed
fix: compute image id bytes in little endian not in be
1 parent 6c544d0 commit b137020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aggregation_mode/src/aggregators/risc0_aggregator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const RISC0_AGGREGATOR_PROGRAM_ID_BYTES: [u8; 32] = {
99
let mut res = [0u8; 32];
1010
let mut i = 0;
1111
while i < 8 {
12-
let bytes = RISC0_AGGREGATOR_PROGRAM_ID[i].to_be_bytes();
12+
let bytes = RISC0_AGGREGATOR_PROGRAM_ID[i].to_le_bytes();
1313
res[i * 4] = bytes[0];
1414
res[i * 4 + 1] = bytes[1];
1515
res[i * 4 + 2] = bytes[2];

0 commit comments

Comments
 (0)