Skip to content

Commit

Permalink
chore: Refactor PoolService contract to remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
doerfli committed Aug 27, 2024
1 parent bf7be85 commit 5c2eac0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions contracts/pool/PoolService.sol
Original file line number Diff line number Diff line change
Expand Up @@ -466,10 +466,7 @@ contract PoolService is
payoutAmount);

// update value locked with staking service
// TODO: ???
TokenHandler poolTokenHandler = TokenHandler(
instanceReader.getTokenHandler(
poolNftId));
TokenHandler poolTokenHandler = instanceReader.getTokenHandler(poolNftId);

_staking.decreaseTotalValueLocked(
instanceReader.getInstanceNftId(),
Expand Down

0 comments on commit 5c2eac0

Please sign in to comment.