Minor changes to magic variables.

gas moves to "msg", ripemd160 returns hash160.
This commit is contained in:
Christian
2014-11-27 18:24:59 +01:00
parent c4a43c64c2
commit 3e32ce5d4f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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: