From bffaa5e7720ff2c72cfa196a188f60e588f3b953 Mon Sep 17 00:00:00 2001 From: Kerber0x Date: Wed, 28 Jun 2023 17:49:25 +0200 Subject: [PATCH] refactor: make clippy happy --- contracts/liquidity_hub/fee_distributor/src/migrations.rs | 2 +- .../liquidity_hub/pool-network/terraswap_pair/src/contract.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/liquidity_hub/fee_distributor/src/migrations.rs b/contracts/liquidity_hub/fee_distributor/src/migrations.rs index e5438e54..d5f12859 100644 --- a/contracts/liquidity_hub/fee_distributor/src/migrations.rs +++ b/contracts/liquidity_hub/fee_distributor/src/migrations.rs @@ -92,7 +92,7 @@ pub fn migrate_to_v091(deps: DepsMut) -> Result, StdError> { epoch.available = vec![]; // save the faulty epoch in the state - EPOCHS.save(deps.storage, &epoch.id.to_be_bytes(), &epoch)?; + EPOCHS.save(deps.storage, &epoch.id.to_be_bytes(), epoch)?; } // create messages to send total_fees back to the fee collector diff --git a/contracts/liquidity_hub/pool-network/terraswap_pair/src/contract.rs b/contracts/liquidity_hub/pool-network/terraswap_pair/src/contract.rs index f7d5d3b0..a3cd74d9 100644 --- a/contracts/liquidity_hub/pool-network/terraswap_pair/src/contract.rs +++ b/contracts/liquidity_hub/pool-network/terraswap_pair/src/contract.rs @@ -239,7 +239,7 @@ pub fn migrate(mut deps: DepsMut, _env: Env, _msg: MigrateMsg) -> Result