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

Unreachable condition in checkMainTransfer #39

Open
adria0 opened this issue Apr 28, 2017 · 0 comments
Open

Unreachable condition in checkMainTransfer #39

adria0 opened this issue Apr 28, 2017 · 0 comments

Comments

@adria0
Copy link

adria0 commented Apr 28, 2017

in checkMainTransfer() the check

if (canceled) return false;

is never reached, since checkMainTransfer is only called from topUpVault() and sendToAuthorizedRecipient() that checks for this condition using notCanceled modifier.

@adria0 adria0 changed the title Unreachable condition Unreachable condition in checkMainTransfer Apr 28, 2017
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