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 /Types.cpp | |
parent | c4a43c64c2878dea08dd2366ae6954173c4372cc (diff) | |
download | dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.gz dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.tar.zst dexon-solidity-3e32ce5d4f56c6babdaaa16c211b0a685fffb21c.zip |
Minor changes to magic variables.
gas moves to "msg", ripemd160 returns hash160.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -397,11 +397,11 @@ MagicType::MagicType(MagicType::Kind _kind): break; case Kind::MSG: m_members = MemberList({{"sender", make_shared<IntegerType const>(0, IntegerType::Modifier::ADDRESS)}, + {"gas", make_shared<IntegerType const>(256)}, {"value", make_shared<IntegerType const>(256)}}); break; case Kind::TX: m_members = MemberList({{"origin", make_shared<IntegerType const>(0, IntegerType::Modifier::ADDRESS)}, - {"gas", make_shared<IntegerType const>(256)}, {"gasprice", make_shared<IntegerType const>(256)}}); break; default: |