mirror of https://github.com/status-im/evmc.git
rust: fix type typo in get_balance()
This commit is contained in:
parent
2a5c280206
commit
48f1903d9c
|
@ -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 {
|
unsafe {
|
||||||
assert!((*self.context.host).get_balance.is_some());
|
assert!((*self.context.host).get_balance.is_some());
|
||||||
(*self.context.host).get_balance.unwrap()(
|
(*self.context.host).get_balance.unwrap()(
|
||||||
|
|
Loading…
Reference in New Issue