Commit 7725e498 authored by Mark Tyneway's avatar Mark Tyneway

contracts-bedrock: remove virtual receive impl

parent 9b27b825
...@@ -165,10 +165,9 @@ abstract contract StandardBridge { ...@@ -165,10 +165,9 @@ abstract contract StandardBridge {
/** /**
* @notice Allows EOAs to bridge ETH by sending directly to the bridge. * @notice Allows EOAs to bridge ETH by sending directly to the bridge.
* Must be implemented by contracts that inherit.
*/ */
receive() external payable virtual onlyEOA { receive() external payable virtual;
_initiateBridgeETH(msg.sender, msg.sender, msg.value, RECEIVE_DEFAULT_GAS_LIMIT, bytes(""));
}
/** /**
* @custom:legacy * @custom:legacy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment