Skip to content

Commit

Permalink
fix: post rebase build error
Browse files Browse the repository at this point in the history
  • Loading branch information
CHr15F0x committed Dec 27, 2024
1 parent 423d84a commit 4b8cbd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/rpc/src/pathfinder/methods/get_proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ impl crate::dto::serialize::SerializeForVersion for GetProofOutput {
) -> Result<crate::dto::serialize::Ok, crate::dto::serialize::Error> {
let mut serializer = serializer.serialize_struct()?;
serializer.serialize_optional("state_commitment", self.state_commitment)?;
serializer.serialize_optional("class_commitment", self.class_commitment)?;
serializer.serialize_field("contract_proof", &self.contract_proof)?;
serializer.serialize_optional("contract_data", self.contract_data.clone())?;
serializer.end()
Expand All @@ -217,7 +216,6 @@ impl crate::dto::serialize::SerializeForVersion for GetClassProofOutput {
serializer: crate::dto::serialize::Serializer,
) -> Result<crate::dto::serialize::Ok, crate::dto::serialize::Error> {
let mut serializer = serializer.serialize_struct()?;
serializer.serialize_optional("class_commitment", self.class_commitment)?;
serializer.serialize_field("class_proof", &self.class_proof)?;
serializer.end()
}
Expand Down

0 comments on commit 4b8cbd4

Please sign in to comment.