Skip to content

Cleanup: Remove redundant receive() in Escrow.sol#519

Open
huahuayu wants to merge 1 commit intoFastLane-Labs:mainfrom
huahuayu:cleanup/remove-receive-escrow
Open

Cleanup: Remove redundant receive() in Escrow.sol#519
huahuayu wants to merge 1 commit intoFastLane-Labs:mainfrom
huahuayu:cleanup/remove-receive-escrow

Conversation

@huahuayu
Copy link

The receive() function in Escrow.sol does not serve any purpose as legitimate fund transfers to Atlas are handled via specific payable function calls (like deposit()). Removing it reduces the risk of users accidentally sending funds directly to the contract and having them untracked. Fixes #506.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove receive() function in Escrow.sol

1 participant

Comments