mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not require payable for callvalue instruction.
This commit is contained in:
-1
@@ -11,4 +11,3 @@ contract C
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// TypeError: (99-100): This modifier uses "msg.value" or "callvalue()" and thus the function has to be payable or internal.
|
||||
|
||||
Reference in New Issue
Block a user