Skip to content

Commit

Permalink
Fix marshalling of step list.
Browse files Browse the repository at this point in the history
  • Loading branch information
martun committed Dec 27, 2023
1 parent 3a8efcf commit 74c2bc9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/nil/crypto3/marshalling/zk/types/commitments/fri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,6 @@ namespace nil {
auto &query_proof = proof.query_proofs[i];
for( std::size_t j = 0; j < query_proof.round_proofs.size(); j++ ){
auto &round_proof = query_proof.round_proofs[j];
if(log2(round_proof.y.size()) + 1 != 0 && j != query_proof.round_proofs.size()){
step_list[j+1] = log2(round_proof.y.size()) + 1;
}
for( std::size_t k = 0; k < round_proof.y.size(); k++){
round_val.push_back(round_proof.y[k][0]);
round_val.push_back(round_proof.y[k][1]);
Expand Down

0 comments on commit 74c2bc9

Please sign in to comment.