We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TicketStatus.is_confirmed
Description
The TicketStatus implements method is_confirmed.
TicketStatus
is_confirmed
review-elrond-launchpad-2021-10/code/launchpad/src/ticket_status.rs
Lines 22 to 34 in a32fe0b
This method is used in 2 cases:
review-elrond-launchpad-2021-10/code/launchpad/src/launchpad.rs
Line 82 in a32fe0b
Line 307 in a32fe0b
In both cases the argument is None. The additional complexity in the method is never used, thus the method can be simplified.
None
Recommendation
Simplify the method if the additional complexity is never used.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
The
TicketStatus
implements methodis_confirmed
.review-elrond-launchpad-2021-10/code/launchpad/src/ticket_status.rs
Lines 22 to 34 in a32fe0b
This method is used in 2 cases:
review-elrond-launchpad-2021-10/code/launchpad/src/launchpad.rs
Line 82 in a32fe0b
review-elrond-launchpad-2021-10/code/launchpad/src/launchpad.rs
Line 307 in a32fe0b
In both cases the argument is
None
. The additional complexity in the method is never used, thus the method can be simplified.Recommendation
Simplify the method if the additional complexity is never used.
The text was updated successfully, but these errors were encountered: