Disallow fallback function to return values.

This commit is contained in:
chriseth
2016-08-26 00:07:50 +02:00
parent f329d5e772
commit 21b6aa92ff
3 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -425,7 +425,8 @@ Fallback Function
*****************
A contract can have exactly one unnamed function. This function cannot have
arguments and is executed on a call to the contract if none of the other
arguments and cannot return anything.
It is executed on a call to the contract if none of the other
functions matches the given function identifier (or if no data was supplied at
all).