diff --git a/AST.cpp b/AST.cpp index 367c88a2b..59a7b61c2 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 5620fa5e4..c9ad6447e 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.