aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AST.cpp5
-rw-r--r--AST.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/AST.cpp b/AST.cpp
index 367c88a2..59a7b61c 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -124,11 +124,6 @@ FunctionDefinition const* ContractDefinition::getConstructor() const
return nullptr;
}
-FixedHash<4> ContractDefinition::getConstructorsInterface() const
-{
- return FixedHash<4>(dev::sha3(getConstructor()->externalSignature()));
-}
-
FunctionDefinition const* ContractDefinition::getFallbackFunction() const
{
for (ContractDefinition const* contract: getLinearizedBaseContracts())
diff --git a/AST.h b/AST.h
index 5620fa5e..c9ad6447 100644
--- a/AST.h
+++ b/AST.h
@@ -281,9 +281,6 @@ public:
/// Returns the fallback function or nullptr if no fallback function was specified.
FunctionDefinition const* getFallbackFunction() const;
- ///@returns hash of the constructor
- FixedHash<4> getConstructorsInterface() const;
-
private:
/// Checks that two functions defined in this contract with the same name have different
/// arguments and that there is at most one constructor.