From 21b6aa92ffe6f5662a234e6e290e842e963917d1 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 25 Aug 2016 13:25:30 +0200 Subject: Disallow fallback function to return values. --- docs/contracts.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/contracts.rst b/docs/contracts.rst index e9fc4526..85592f5d 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -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). -- cgit v1.2.3