Skip to content

transferAllowed does not fail #83

@code423n4

Description

@code423n4

Handle

GeekyLumberjack

Vulnerability details

Impact

transferTokens() will not fail when calling transferAllowed() both transfer() and transferFrom() rely on transferTokens(). Both the name of the function transferAllowed() and the comments above the call show there should be some cases that cause these functions to fail in transferAllowed.

Tools Used

Manual review

Recommended Mitigation Steps

Update transfer allowed to include required failures. If there are none, update the comments and the name of the function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 (Non-critical)Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisationbugSomething isn't workingresolvedFinding has been patched by sponsor (sponsor pls link to PR containing fix)sponsor confirmedSponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions