Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Commit e71fd38

Browse files
Updated fetchUserShare
1 parent 110fdd7 commit e71fd38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contracts/LockedFarming.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ contract SMD_v5 is Ownable {
432432
);
433433
uint256 userAmount = deposits[from].amount;
434434
require(userAmount > 0, "No stakes available for user"); //extra check
435-
return (userAmount.mul(10 ** 54).div(stakedBalance)); //returns percentage upto 2 decimals
435+
return 1;
436436
}
437437

438438
function claimRewards() public returns (bool) {

0 commit comments

Comments
 (0)