Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-iancu committed Sep 27, 2023
1 parent 29b23eb commit dff6ed8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions subscription-fee/tests/pair_setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ impl<PairObjBuilder> PairSetup<PairObjBuilder>
where
PairObjBuilder: 'static + Copy + Fn() -> pair::ContractObj<DebugApi>,
{
#[allow(clippy::too_many_arguments)]
pub fn new(
b_mock: Rc<RefCell<BlockchainStateWrapper>>,
pair_builder: PairObjBuilder,
Expand Down
2 changes: 1 addition & 1 deletion subscription-fee/tests/subscription_setup/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ where
let rust_zero = rust_biguint!(0);
let s_wrapper = b_mock.borrow_mut().create_sc_account(
&rust_zero,
Some(&owner_addr),
Some(owner_addr),
builder,
"some wasm path",
);
Expand Down
2 changes: 1 addition & 1 deletion subscription-fee/tests/subscription_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn init_all<
b_mock_rc.clone(),
sub_builder,
&owner,
&pair_setup.pair_wrapper.address_ref(),
pair_setup.pair_wrapper.address_ref(),
vec![FIRST_TOKEN_ID.to_vec()],
);

Expand Down

0 comments on commit dff6ed8

Please sign in to comment.