diff options
author | Christian <c@ethdev.com> | 2014-11-28 01:24:59 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-11-28 01:24:59 +0800 |
commit | 3e32ce5d4f56c6babdaaa16c211b0a685fffb21c (patch) | |
tree | 630c39887f89ca2be9e06326d05b441ae56b611b /GlobalContext.cpp | |
parent | c4a43c64c2878dea08dd2366ae6954173c4372cc (diff) | |
download | dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.gz dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.bz2 dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.lz dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.xz dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.zst dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.zip |
Minor changes to magic variables.
gas moves to "msg", ripemd160 returns hash160.
Diffstat (limited to 'GlobalContext.cpp')
-rw-r--r-- | GlobalContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GlobalContext.cpp b/GlobalContext.cpp index e958352f..d8b63707 100644 --- a/GlobalContext.cpp +++ b/GlobalContext.cpp @@ -58,7 +58,7 @@ GlobalContext::GlobalContext(): FunctionType::Location::ECRECOVER)), make_shared<MagicVariableDeclaration>("ripemd160", make_shared<FunctionType>(TypePointers({std::make_shared<IntegerType>(256, IntegerType::Modifier::HASH)}), - TypePointers({std::make_shared<IntegerType>(256, IntegerType::Modifier::HASH)}), + TypePointers({std::make_shared<IntegerType>(160, IntegerType::Modifier::HASH)}), FunctionType::Location::RIPEMD160))} { } |