VIS-2 / taobank-04-24

0 stars 0 forks source link

`TBANKStaking::takeFees()` always returns `true` #43

Open DanailYordanov opened 4 months ago

DanailYordanov commented 4 months ago

Context

TBANKStaking::takeFees()

Description

The NatSpec of the function states that the returned results indicate whether the operation was successful, but the returned result is always true. Otherwise, the function will revert instead of returning false.