Reject constant modifier on the fallback function

This commit is contained in:
Alex Beregszaszi committed 2016-09-06 11:40:00 +01:00
1 parent f687635e47
commit 6ec40b3cde
4 files changed
+13 -3

No files matched your search

@@ -81,7 +81,6 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef)
solAssert(!!externalFunctionType, "");
Json::Value method;
method["type"] = "fallback";
method["constant"] = externalFunctionType->isConstant();
method["payable"] = externalFunctionType->isPayable();
abi.append(method);
}