Skip to content

Commit

Permalink
Remove duplicate constant definition
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Jul 1, 2024
1 parent e89f693 commit 654ab7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/atom_wars/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,6 @@ pub fn query_proposal(
pub fn query_user_voting_power(deps: Deps, env: Env, address: String) -> StdResult<u128> {
let constants = CONSTANTS.load(deps.storage)?;
let user_address = deps.api.addr_validate(&address)?;
let constants = constants;
let current_round_id = compute_current_round_id(&env, &constants)?;
let round_end = compute_round_end(&constants, current_round_id)?;
let lock_epoch_length = constants.lock_epoch_length;
Expand Down

0 comments on commit 654ab7f

Please sign in to comment.