Skip to content

Commit

Permalink
Merge pull request #236 from hackaugusto/hacka-bugfix-serialization-s…
Browse files Browse the repository at this point in the history
…tark-proof

bugfix: StarkProof is not always the last element in a serialization buffer
  • Loading branch information
irakliyk authored Dec 18, 2023
2 parents 2921a2e + 66c9731 commit d0cbd0b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions air/src/proof/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,6 @@ impl Deserializable for StarkProof {
fri_proof: FriProof::read_from(source)?,
pow_nonce: source.read_u64()?,
};
if source.has_more_bytes() {
return Err(DeserializationError::UnconsumedBytes);
}
Ok(proof)
}
}
Expand Down

0 comments on commit d0cbd0b

Please sign in to comment.