Reject constant modifier on the fallback function

This commit is contained in:
Alex Beregszaszi
2016-09-06 11:40:00 +01:00
parent f687635e47
commit 6ec40b3cde
4 changed files with 13 additions and 3 deletions
@@ -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);
}