user#1 buy 100ITR for 100ETH and stake it
obtain 100ITRc
wait locked time
unstake 100ITRc. obtain 90ITR
user#2 transfer some(i.e.50ITRc) to user#1
user#1 can unstake 10 ITRc(minus unstake Tarif) immediately although he haven't staked tokens (and haven't redeem role)
Actual:
user can be able to unstake additional tokens as was consuming by tarifUnstake
Expected:
user can not be able do that
Additional:
seems this happens when decreasing amount from users[account].unstakeable and do it by amount with taxes
need to decrease full amount(without taxes) from user, but from instances should be with taxes. it will leads to fact that instance will be contain more and more funds. and further users does not to need choose several instances when try to redeem
Data:
Steps to reproduce:
Actual:
Expected:
Additional: