rust: fix type typo in get_balance()

This commit is contained in:
Alex Beregszaszi 2019-07-04 20:00:22 +01:00
parent 2a5c280206
commit 48f1903d9c
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ impl<'a> ExecutionContext<'a> {
}
}
pub fn get_balance(&mut self, address: &ffi::evmc_address) -> ffi::evmc_bytes32 {
pub fn get_balance(&mut self, address: &ffi::evmc_address) -> ffi::evmc_uint256be {
unsafe {
assert!((*self.context.host).get_balance.is_some());
(*self.context.host).get_balance.unwrap()(