aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-24 01:08:45 +0800
committerLiana Husikyan <liana@ethdev.com>2015-03-25 20:59:46 +0800
commit701b34fbeb1bd08445aad55f82672d35343f5a44 (patch)
treec279a47bba724163fc3f5d78e5a8f1742be4e45e /ExpressionCompiler.cpp
parente3ea90e997caf1d316252ad16ecb14c4d6163da5 (diff)
downloaddexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.tar.gz
dexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.tar.zst
dexon-solidity-701b34fbeb1bd08445aad55f82672d35343f5a44.zip
renamed getCanonicalSignature
added externalTypes instead of types for interface functions added simple test todo testing
Diffstat (limited to 'ExpressionCompiler.cpp')
-rw-r--r--ExpressionCompiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ExpressionCompiler.cpp b/ExpressionCompiler.cpp
index da762147..288af398 100644
--- a/ExpressionCompiler.cpp
+++ b/ExpressionCompiler.cpp
@@ -544,7 +544,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
}
if (!event.isAnonymous())
{
- m_context << u256(h256::Arith(dev::sha3(function.getCanonicalSignature(event.getName()))));
+ m_context << u256(h256::Arith(dev::sha3(function.externalTypes(event.getName()))));
++numIndexed;
}
solAssert(numIndexed <= 4, "Too many indexed arguments.");