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
Now it's possible to call one of the pauseStaking or resumeStaking methods more than once in a row.
Even though it doesn't pose any risks or inconsistencies beyond emitting extra events, the better approach would be completely preventing repetitive calls. The latter approach is used everywhere with other 'pausable' entities across the codebase.
The text was updated successfully, but these errors were encountered:
TheDZhon
changed the title
Fix: prevent pauseStaking and resumeStaking repetitive calls
Prevent possible pauseStaking and resumeStaking repetitive calls
Apr 20, 2023
Now it's possible to call one of the
pauseStaking
orresumeStaking
methods more than once in a row.Even though it doesn't pose any risks or inconsistencies beyond emitting extra events, the better approach would be completely preventing repetitive calls. The latter approach is used everywhere with other 'pausable' entities across the codebase.
The text was updated successfully, but these errors were encountered: