Skip to content

Commit

Permalink
adjust flux earned
Browse files Browse the repository at this point in the history
  • Loading branch information
toyv0 committed Oct 26, 2023
1 parent 76d8457 commit 55d07ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VotingEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ contract VotingEscrow is IERC721, IERC721Metadata, IVotes, IVotingEscrow {

/// @inheritdoc IVotingEscrow
function amountToRagequit(uint256 _tokenId) public view returns (uint256) {
return (_balanceOfTokenAt(_tokenId, block.timestamp) * (fluxPerVeALCX + BPS)) / BPS;
return (_balanceOfTokenAt(_tokenId, block.timestamp) * fluxPerVeALCX) / BPS;
}

/**
Expand Down

0 comments on commit 55d07ab

Please sign in to comment.