You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if the stake gets closed pre-maturely eventually this expression will return true once the _currentWiseDay() has reached the finalDay which will affect checkMyStakeByID() return information for UI, not critical but needs adjustment to take in account stake.closeDay to determine maturity.
wise-token-contracts/contracts/Helper.sol
Line 162 in fe975b5
if the stake gets closed pre-maturely eventually this expression will return
true
once the_currentWiseDay()
has reached thefinalDay
which will affectcheckMyStakeByID()
return information for UI, not critical but needs adjustment to take in accountstake.closeDay
to determine maturity.function _isMatureStake(Stake memory _stake) internal view returns (bool) { return _stake.closeDay > 0 ? _stake.finalDay <= _stake.closeDay : _stake.finalDay <= _currentWiseDay(); }
as an option
The text was updated successfully, but these errors were encountered: