Skip to content

refactor: remove unused receive() function in Escrow.sol#512

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

refactor: remove unused receive() function in Escrow.sol#512
huahuayu wants to merge 1 commit intoFastLane-Labs:mainfrom
huahuayu:fix/remove-receive-escrow

Conversation

@huahuayu
Copy link

@huahuayu huahuayu commented Feb 1, 2026

As discussed in issue #506, the function in does not serve any purpose since legitimate fund transfers to Atlas are sent via payable function calls. Removing it reduces the risk of user funds being lost when accidentally sent to the contract address without data. This change helps prevent accidental ETH transfers that wouldn't be credited as atlETH.

@huahuayu huahuayu force-pushed the fix/remove-receive-escrow branch from c52167b to 2c6303e Compare February 9, 2026 16:28
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.

1 participant

Comments