vm ext ret function used u256 instead of u64

This commit is contained in:
debris
2016-01-13 22:16:24 +01:00
parent 360e667a64
commit 48e74e5874
5 changed files with 11 additions and 11 deletions

View File

@@ -135,7 +135,7 @@ impl<'a> Ext for TestExt<'a> {
self.ext.log(topics, data)
}
fn ret(&mut self, gas: u64, data: &[u8]) -> Result<u64, evm::Error> {
fn ret(&mut self, gas: &U256, data: &[u8]) -> Result<U256, evm::Error> {
self.ext.ret(gas, data)
}