Skip to content

Commit

Permalink
Alias selfdestruct to suicide
Browse files Browse the repository at this point in the history
  • Loading branch information
vub authored and vub committed Nov 28, 2015
1 parent a62b6b1 commit 1106c3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ std::string macros[][2] = {
"(waste $n)",
"(call $n (create (lll (invalid))) 0 0 0 0 0)"
},
{
"(selfdestruct $a)",
"(suicide $a)"
},
{ "(. msg sender)", "(caller)" },
{ "(. msg value)", "(callvalue)" },
{ "(. msg gas)", "(gas)" },
Expand Down

0 comments on commit 1106c3b

Please sign in to comment.