Skip to content

Commit

Permalink
fix issue in function _burnShares
Browse files Browse the repository at this point in the history
  • Loading branch information
Frihat-dev committed Oct 9, 2023
1 parent 525bc39 commit e55421f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/TapETH.sol
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ contract TapETH is ITapETH {
uint256 preRebaseTokenAmount = getPooledEthByShares(_sharesAmount);
shares[_account] -= _sharesAmount;
totalShares -= _sharesAmount;
_totalSupply -= _sharesAmount;
_totalSupply -= preRebaseTokenAmount;
newTotalShares = totalShares;

uint256 postRebaseTokenAmount = getPooledEthByShares(_sharesAmount);
Expand Down

0 comments on commit e55421f

Please sign in to comment.