Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

builtin sets excepted to true #123

Merged
merged 3 commits into from
Jan 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/executive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ impl<'a> Executive<'a> {
Ok(params.gas - cost)
},
// just drain the whole gas
false => Ok(U256::zero())
false => {
substate.excepted = true;
Ok(U256::zero())
}
}
} else if params.code.len() > 0 {
// if destination is a contract, do normal message call
Expand Down