Skip to content

Commit

Permalink
dev: altered rebasing logic curvefi#2
Browse files Browse the repository at this point in the history
  • Loading branch information
heswithme committed Sep 27, 2024
1 parent 1851124 commit 40c95a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/mocks/ERC20Rebasing.vy
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def allowance(_owner: address, _spender: address) -> uint256:
def transfer(_to: address, _value: uint256) -> bool:
self._rebase()
_shares: uint256 = self._get_shares_by_coins(_value)

self.shares[msg.sender] -= _shares
self.shares[_to] += _shares
log Transfer(msg.sender, _to, _value)
Expand Down

0 comments on commit 40c95a6

Please sign in to comment.