Do not require payable for callvalue instruction.

This commit is contained in:
chriseth
2019-05-22 11:30:29 +02:00
parent f06582f97f
commit 7506b5752a
6 changed files with 4 additions and 5 deletions
@@ -8,4 +8,3 @@ contract C
}
}
// ----
// TypeError: (92-103): "msg.value" and "callvalue()" can only be used in payable public functions. Make the function "payable" or use an internal function to avoid this error.