aboutsummaryrefslogtreecommitdiffstats
path: root/ExpressionCompiler.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-03-27 22:14:40 +0800
committerchriseth <c@ethdev.com>2015-03-27 22:14:40 +0800
commitf728a336b1af6ae25b5cb5282119bef8f55c08b6 (patch)
treedc5c2b9bc936a0d436fee4c46f413bd360c273be /ExpressionCompiler.cpp
parent92dadf3825c6d7946796a3895bddc351ff1ee8b2 (diff)
parenta3d829d074859d748f1fd392acb8b5883f646e61 (diff)
downloaddexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar.gz
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar.bz2
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar.lz
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar.xz
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.tar.zst
dexon-solidity-f728a336b1af6ae25b5cb5282119bef8f55c08b6.zip
Merge pull request #1338 from LianaHus/sol_ConvertContractTypesToAddress
Solidity: Convert contract types to addresses
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..90568767 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.externalSignature(event.getName()))));
++numIndexed;
}
solAssert(numIndexed <= 4, "Too many indexed arguments.");