Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo #115

Merged
merged 2 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion balance-prover/src/api/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub async fn prove_send(
let proof = state
.prove_send(
request.pubkey,
&request.tx_witnes,
&request.tx_witness,
&request.update_witness,
&request.spent_proof,
&request.prev_proof,
Expand Down
4 changes: 2 additions & 2 deletions client-sdk/src/external_api/balance_prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ impl BalanceProverClientInterface for BalanceProverClient {
&self,
_key: KeySet,
pubkey: U256,
tx_witnes: &TxWitness,
tx_witness: &TxWitness,
update_witness: &UpdateWitness<F, C, D>,
spent_proof: &ProofWithPublicInputs<F, C, D>,
prev_proof: &Option<ProofWithPublicInputs<F, C, D>>,
) -> Result<ProofWithPublicInputs<F, C, D>, ServerError> {
let request = ProveSendRequest {
pubkey,
tx_witnes: tx_witnes.clone(),
tx_witness: tx_witness.clone(),
update_witness: update_witness.clone(),
spent_proof: spent_proof.clone(),
prev_proof: prev_proof.clone(),
Expand Down
2 changes: 1 addition & 1 deletion interfaces/src/api/balance_prover/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub struct ProveSpentRequest {
#[serde(rename_all = "camelCase")]
pub struct ProveSendRequest {
pub pubkey: U256,
pub tx_witnes: TxWitness,
pub tx_witness: TxWitness,
pub update_witness: UpdateWitness<F, C, D>,
pub spent_proof: ProofWithPublicInputs<F, C, D>,
pub prev_proof: Option<ProofWithPublicInputs<F, C, D>>,
Expand Down
Loading