removed unused stuff
This commit is contained in:
parent
d1aadf456f
commit
dea9ec203b
@ -278,11 +278,6 @@ impl<'a> Executive<'a> {
|
||||
}
|
||||
}
|
||||
|
||||
pub enum ExtMode {
|
||||
Call,
|
||||
Create
|
||||
}
|
||||
|
||||
/// Policy for handling output data on `RETURN` opcode.
|
||||
pub enum OutputPolicy<'a> {
|
||||
/// Return reference to fixed sized output.
|
||||
@ -411,7 +406,6 @@ impl<'a> Ext for Externalities<'a> {
|
||||
}
|
||||
|
||||
if gas_cost > gas {
|
||||
// TODO: maybe gas should always be updated?
|
||||
return None;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user