Closed sherlock-admin closed 6 months ago
1 comment(s) were left on this issue during the judging contest.
takarez commented:
invalid because { since its not mention its the intended behavior i believe}
Invalid, check done here, explicit return value is not required
BAICE
medium
Missing return value in
SafeGuard:checkTransaction
, cannot check whether this transaction has been VetoedSummary
No return value in
SafeGuard:checkTransaction
, cannot check whether this transaction has been vetoed.Vulnerability Detail
https://github.com/sherlock-audit/2024-01-telcoin/blob/main/telcoin-audit/contracts/zodiac/core/SafeGuard.sol#L48-L75
This checkTransaction method check whether this transactionHash list (calculated by transaction params ) has been vetoed, no return value .
Impact
This function of
checkTransaction
will not work , and will influence other function results based on thischeckTransaction
method .Code Snippet
https://github.com/sherlock-audit/2024-01-telcoin/blob/main/telcoin-audit/contracts/zodiac/core/SafeGuard.sol#L48-L75
Tool used
Manual Review VSCode
Recommendation
Add boolean return value