You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does not matter whether an empty function is defined as function func() external; or function func() external { }. In case of function func() external; definition Remix is unable to return the contract's bytecode.
It is highly advised to use function func() { } for empty function definitions.
Severity: medium
Code snippet
https://github.com/EthereumCommonwealth/ethereum-classic-multisig/blob/master/contracts/ownership/Multisig.sol#L25-L27
Description
It does not matter whether an empty function is defined as
function func() external;
orfunction func() external { }
. In case offunction func() external;
definition Remix is unable to return the contract's bytecode.It is highly advised to use
function func() { }
for empty function definitions.Recommendation
The text was updated successfully, but these errors were encountered: