Merge pull request #123 from gavofyork/state_tests_fixes
builtin sets excepted to true
This commit is contained in:
commit
b5a4066d81
@ -207,7 +207,10 @@ impl<'a> Executive<'a> {
|
|||||||
Ok(params.gas - cost)
|
Ok(params.gas - cost)
|
||||||
},
|
},
|
||||||
// just drain the whole gas
|
// just drain the whole gas
|
||||||
false => Ok(U256::zero())
|
false => {
|
||||||
|
substate.excepted = true;
|
||||||
|
Ok(U256::zero())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if params.code.len() > 0 {
|
} else if params.code.len() > 0 {
|
||||||
// if destination is a contract, do normal message call
|
// if destination is a contract, do normal message call
|
||||||
|
Loading…
Reference in New Issue
Block a user