Remove non-compiling payable default
This commit is contained in:
@ -6,12 +6,6 @@ contract HasNoEtherTest is HasNoEther {
|
||||
|
||||
// Constructor with explicit payable — should still fail
|
||||
function HasNoEtherTest() payable {
|
||||
|
||||
}
|
||||
|
||||
// Default function with explicit payable — should still fail
|
||||
function() external payable {
|
||||
throw;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user