Skip to content

Commit

Permalink
refactor: rename to unlocked_tx
Browse files Browse the repository at this point in the history
  • Loading branch information
ppoliani committed Jan 27, 2024
1 parent 8ec9851 commit 7ff2361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/bob_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ impl BobRequest {
Ok(res)
}

pub fn zkapp_tx_with_witness(&self, witness: Witness) -> Result<Transaction> {
pub fn unlocked_tx(&self, witness: Witness) -> Result<Transaction> {
let mut transaction = self.tx.clone();

transaction
Expand Down
4 changes: 1 addition & 3 deletions src/committee/orchestrator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,11 +507,9 @@ impl Orchestrator {
let mut witness = Witness::new();
witness.push(final_signature.to_vec());

let transaction = bob_request.zkapp_tx_with_witness(witness)?;

// return the signed transaction
return Ok(BobResponse {
unlocked_tx: transaction,
unlocked_tx: bob_request.unlocked_tx(witness)?,
});
}
}
Expand Down

0 comments on commit 7ff2361

Please sign in to comment.