[FRAME] Currency::transfer()
can create locks if used incorrectly
#3332
Labels
I3-annoyance
The node behaves within expectations, however this “expected behaviour” itself is at issue.
currently if you try to transfer more than what you have without checking for balance, the result will be the account having a locked amount. You can lock more than you have, something that is not wrong per se but it would be good to document the behavior as someone could create locks on accounts unintentionally and get them stuck until more tokens are transfer, or have a pallet to blindly trust the locked amount.
it would be good during the documentation process to double check if there's any place today where the locked amount is being counted as voting power or as an unreal advantage, I am not aware of that being the case, but better double check to be safe.
The text was updated successfully, but these errors were encountered: