Skip to content

Commit

Permalink
fix: generators not run bug in beacon apis (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas authored Sep 19, 2023
1 parent ec1443d commit fb39f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plonky2x/src/frontend/hash/sha/sha256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl<L: PlonkParameters<D>, const D: usize> Plonky2xCircuitBuilder<L, D> {
.chunks(8)
.map(|chunk| ByteVariable(array![i => BoolVariable::from(chunk[i].target); 8]))
.collect::<Vec<_>>();
let mut hash_bytes_array = [ByteVariable::init(self); 32];
let mut hash_bytes_array = [ByteVariable::init_unsafe(self); 32];
hash_bytes_array.copy_from_slice(&hash_bytes_vec);
Bytes32Variable(BytesVariable(hash_bytes_array))
}
Expand Down

0 comments on commit fb39f34

Please sign in to comment.