Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant