Skip to content

Commit 99ee3ee

Browse files
committed
proper indentation
1 parent 561ecf2 commit 99ee3ee

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

plonk-wasm/src/plonk_proof.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -620,15 +620,15 @@ macro_rules! impl_proof {
620620
// Deprecated used on purpose: updating this leads to a bug in o1js
621621
base64::encode(serialized)
622622
}
623-
}
624623

625-
#[wasm_bindgen]
626-
#[allow(deprecated)]
627-
pub fn deserialize(s: &str) -> WasmProverProof {
628-
let bytes = base64::decode(s).unwrap();
629-
let proof: ProverProof<$G, OpeningProof<$G>> = rmp_serde::from_slice(&bytes).unwrap();
630-
// Deprecated used on purpose: updating this leads to a bug in o1js
631-
WasmProverProof::from((proof, Vec::new()))
624+
#[wasm_bindgen]
625+
#[allow(deprecated)]
626+
pub fn deserialize(s: &str) -> WasmProverProof {
627+
let bytes = base64::decode(s).unwrap();
628+
let proof: ProverProof<$G, OpeningProof<$G>> = rmp_serde::from_slice(&bytes).unwrap();
629+
// Deprecated used on purpose: updating this leads to a bug in o1js
630+
WasmProverProof::from((proof, Vec::new()))
631+
}
632632
}
633633

634634
#[wasm_bindgen]

0 commit comments

Comments
 (0)