Assessment reports>Acctual Batch Payments>Low findings>Unneeded ,receive, function
Category: Coding Mistakes

Unneeded receive function

Low Severity
Low Impact
Low Likelihood

Description

The contract implements an unneeded, payable receive function.

Impact

This function allows to send native ETH to the contract, but it performs no other action. Any ETH sent directly to the contract would be permanently locked; therefore, this represents an unneeded risk to the contract users.

Recommendations

Remove the unneeded receive function.

Remediation

This issue has been acknowledged by Acctual, and a fix was implemented in commit a0818d50.

Zellic © 2024Back to top ↑