aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-08-03 03:36:54 +0800
committerchriseth <c@ethdev.com>2016-09-06 03:28:18 +0800
commit75d556a2cfb6ae043b6d9fa375e4a6410145e4d1 (patch)
tree599ab9c9b808ed0f5eb594fbc2b10516a126f4c2
parenta7794b1a682d6b13bbe58e8164853d481ffd51f5 (diff)
downloaddexon-solidity-75d556a2cfb6ae043b6d9fa375e4a6410145e4d1.tar.gz
dexon-solidity-75d556a2cfb6ae043b6d9fa375e4a6410145e4d1.tar.zst
dexon-solidity-75d556a2cfb6ae043b6d9fa375e4a6410145e4d1.zip
Do not include the payable keyword for constructors
-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 017753fc..a536b0bc 100644
--- a/libsolidity/interface/InterfaceHandler.cpp
+++ b/libsolidity/interface/InterfaceHandler.cpp
@@ -73,7 +73,6 @@ string InterfaceHandler::abiInterface(ContractDefinition const& _contractDef)
externalFunction->parameterNames(),
externalFunction->parameterTypeNames(_contractDef.isLibrary())
);
- method["payable"] = externalFunction->isPayable();
abi.append(method);
}
if (_contractDef.fallbackFunction())