aboutsummaryrefslogtreecommitdiffstats
path: root/AST.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-04-17 21:26:12 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-27 19:08:32 +0800
commit2d62c482fd50a69bb19d2c3e3adca3a66260417f (patch)
treee3a3903b584289a066263872f00abbf44ff530c5 /AST.cpp
parentfcd3f44fd9b76c659fa0a41beeb00680e8337a5e (diff)
downloaddexon-solidity-2d62c482fd50a69bb19d2c3e3adca3a66260417f.tar.gz
dexon-solidity-2d62c482fd50a69bb19d2c3e3adca3a66260417f.tar.zst
dexon-solidity-2d62c482fd50a69bb19d2c3e3adca3a66260417f.zip
fixed the output of the test
Diffstat (limited to 'AST.cpp')
-rw-r--r--AST.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/AST.cpp b/AST.cpp
index 59a7b61c..2c4dbd9d 100644
--- a/AST.cpp
+++ b/AST.cpp
@@ -124,6 +124,12 @@ FunctionDefinition const* ContractDefinition::getConstructor() const
return nullptr;
}
+FixedHash<4> ContractDefinition::getConstructorsInterface() const
+{
+ return FixedHash<4>(dev::sha3(getConstructor()->externalSignature()));
+ //return hash;
+}
+
FunctionDefinition const* ContractDefinition::getFallbackFunction() const
{
for (ContractDefinition const* contract: getLinearizedBaseContracts())