Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alyn509 committed Jan 31, 2025
1 parent 640729b commit c8abea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/examples/digital-cash/src/pay_fee_and_fund.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub trait PayFeeAndFund: storage::StorageModule + helpers::HelpersModule {
#[payable]
fn pay_fee_and_fund(&self, address: ManagedAddress, valability: u64) {
let mut payments = self.call_value().all_transfers().clone_value();
let mut fee_token = EgldOrEsdtTokenPayment::from(payments.get(0).clone());
let mut fee_token = payments.get(0).clone();
let fee_value_mapper = self.fee(&fee_token.token_identifier);

let provided_fee_token = payments.get(0).clone();
Expand Down

0 comments on commit c8abea2

Please sign in to comment.