Skip to content

Commit

Permalink
test-wallet: review follow-up renames
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszm committed Jul 18, 2024
1 parent 7463d3f commit 6af4398
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test-wallet/src/imp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ where
pub fn execute<Rng>(
&self,
rng: &mut Rng,
call_or_deploy: ContractExec,
exec: ContractExec,
sender_index: u64,
gas_limit: u64,
gas_price: u64,
Expand Down Expand Up @@ -378,7 +378,7 @@ where
outputs,
fee,
0,
Some(call_or_deploy),
Some(exec),
)
.map_err(Error::from_state_err)?;

Expand Down Expand Up @@ -740,7 +740,7 @@ fn new_unproven_tx<Rng: RngCore + CryptoRng, SC: StateClient>(
outputs: [(Note, u64, JubJubScalar, [JubJubScalar; 2]); OUTPUT_NOTES],
fee: Fee,
deposit: u64,
call_or_deploy: Option<ContractExec>,
exec: Option<ContractExec>,
) -> Result<UnprovenTransaction, SC::Error> {
let nullifiers: Vec<BlsScalar> = inputs
.iter()
Expand All @@ -766,7 +766,7 @@ fn new_unproven_tx<Rng: RngCore + CryptoRng, SC: StateClient>(
let payload = Payload {
tx_skeleton,
fee,
call_or_deploy,
exec,
};
let payload_hash = payload.hash();

Expand Down

0 comments on commit 6af4398

Please sign in to comment.