Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update isWhitelisted to return false if a listing is inside its own init or finalize exit windows #90

Open
skmgoldin opened this issue Oct 2, 2018 · 0 comments

Comments

@skmgoldin
Copy link
Owner

We fire an event for initializing exits, so users can detect this state, but isWhitelisted should detect it as well and return false for listings which have initiated an exit. Otherwise people can initiate an exit, wait until their finalize window begins, then behave badly and defraud people. If you have initialized an exit and your finalize window has not expired yet, you should not be considered as listed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant