From 6af43989b67aaeb2cae4e31ff8479ec95a0da9d1 Mon Sep 17 00:00:00 2001 From: Milosz Muszynski Date: Thu, 18 Jul 2024 11:25:06 +0200 Subject: [PATCH] test-wallet: review follow-up renames --- test-wallet/src/imp.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test-wallet/src/imp.rs b/test-wallet/src/imp.rs index 69e8d1cc16..86aa8fd355 100644 --- a/test-wallet/src/imp.rs +++ b/test-wallet/src/imp.rs @@ -343,7 +343,7 @@ where pub fn execute( &self, rng: &mut Rng, - call_or_deploy: ContractExec, + exec: ContractExec, sender_index: u64, gas_limit: u64, gas_price: u64, @@ -378,7 +378,7 @@ where outputs, fee, 0, - Some(call_or_deploy), + Some(exec), ) .map_err(Error::from_state_err)?; @@ -740,7 +740,7 @@ fn new_unproven_tx( outputs: [(Note, u64, JubJubScalar, [JubJubScalar; 2]); OUTPUT_NOTES], fee: Fee, deposit: u64, - call_or_deploy: Option, + exec: Option, ) -> Result { let nullifiers: Vec = inputs .iter() @@ -766,7 +766,7 @@ fn new_unproven_tx( let payload = Payload { tx_skeleton, fee, - call_or_deploy, + exec, }; let payload_hash = payload.hash();