Fixed RETURNDATA out of bounds check

This commit is contained in:
arkpar
2017-10-12 11:45:03 +02:00
parent 1d2319207a
commit 301190a16f
2 changed files with 28 additions and 1 deletions

View File

@@ -80,6 +80,12 @@ impl FakeExt {
pub fn new() -> Self {
FakeExt::default()
}
pub fn new_byzantium() -> Self {
let mut ext = FakeExt::default();
ext.schedule = Schedule::new_byzantium();
ext
}
}
impl Ext for FakeExt {