aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/InterfaceHandler.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-08-27 03:01:47 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-09-06 18:40:00 +0800
commit6ec40b3cdeca667cea2222755c6e145c72279b1d (patch)
tree090d1e61bf3d1f8807c0261ac05a441b8710587e /libsolidity/interface/InterfaceHandler.cpp
parentf687635e4743a1e12d01fb082a4f8a76a759ab48 (diff)
downloaddexon-solidity-6ec40b3cdeca667cea2222755c6e145c72279b1d.tar.gz
dexon-solidity-6ec40b3cdeca667cea2222755c6e145c72279b1d.tar.zst
dexon-solidity-6ec40b3cdeca667cea2222755c6e145c72279b1d.zip
Reject constant modifier on the fallback function
Diffstat (limited to 'libsolidity/interface/InterfaceHandler.cpp')
-rw-r--r--libsolidity/interface/InterfaceHandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libsolidity/interface/InterfaceHandler.cpp b/libsolidity/interface/InterfaceHandler.cpp
index 6e3ae78f..de16a372 100644
--- a/libsolidity/interface/InterfaceHandler.cpp
+++ b/libsolidity/interface/InterfaceHandler.cpp
@@ -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);
}