docs: update _unwrapEth docs
Co-authored-by: Tamara <tamara@datarevenue.com>
This commit is contained in:
committed by
royvardhan
parent
353861f738
commit
393ed61595
@@ -448,7 +448,7 @@ contract TychoRouter is AccessControl, Dispatcher, Pausable, ReentrancyGuard {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dev Allows this contract to receive native token from contracts
|
||||
* @dev Allows this contract to receive native token with empty msg.data from contracts
|
||||
*/
|
||||
receive() external payable {
|
||||
require(msg.sender.code.length != 0);
|
||||
|
||||
Reference in New Issue
Block a user