removed unused stuff

This commit is contained in:
debris 2016-01-11 03:29:13 +01:00
parent d1aadf456f
commit dea9ec203b

View File

@ -278,11 +278,6 @@ impl<'a> Executive<'a> {
} }
} }
pub enum ExtMode {
Call,
Create
}
/// Policy for handling output data on `RETURN` opcode. /// Policy for handling output data on `RETURN` opcode.
pub enum OutputPolicy<'a> { pub enum OutputPolicy<'a> {
/// Return reference to fixed sized output. /// Return reference to fixed sized output.
@ -411,7 +406,6 @@ impl<'a> Ext for Externalities<'a> {
} }
if gas_cost > gas { if gas_cost > gas {
// TODO: maybe gas should always be updated?
return None; return None;
} }