Skip to content

Commit

Permalink
remove unnecessary state update
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Aug 2, 2024
1 parent 5b6093e commit 07ffdd5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions contracts/voting/dao-voting-onft-staked/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ pub fn execute_confirm_stake(

register_staked_nfts(deps.storage, env.block.height, &info.sender, &token_ids)?;

// remove preparations
for token_id in &token_ids {
PREPARED_ONFTS.remove(deps.storage, token_id.to_string());
}

let hook_msgs = token_ids
.iter()
.map(|token_id| {
Expand Down

0 comments on commit 07ffdd5

Please sign in to comment.