circles-core
circles-core copied to clipboard
Add param (`tokenOwner`) in `checkSendLimit` method
The checkSendLimit
method of the core checks the sent limit of the token of the 'from' address, which is contradictory with the policy of "returning tokens to their owners". This method is only used by myxo when calculating maxFlow. I suggest we refactor the method to include the tokenOwner as param too.
This issue is fixed with https://github.com/CirclesUBI/circles-core/pull/226
Problem is that will be closed when merged as production build so until then, will be blocked.