Fix client builds.
This commit is contained in:
parent
3740f135f1
commit
a2860eb115
@ -53,9 +53,10 @@ impl IoHandler<NetSyncMessage> for ClientIoHandler {
|
|||||||
|
|
||||||
fn timeout<'s>(&'s mut self, _io: &mut IoContext<'s, NetSyncMessage>, timer: TimerToken) {
|
fn timeout<'s>(&'s mut self, _io: &mut IoContext<'s, NetSyncMessage>, timer: TimerToken) {
|
||||||
if self.timer == timer {
|
if self.timer == timer {
|
||||||
self.client.tick();
|
let client = self.client.read().unwrap();
|
||||||
println!("Chain info: {}", self.client.read().unwrap().deref().chain_info());
|
client.tick();
|
||||||
println!("Cache info: {:?}", self.client.read().unwrap().deref().cache_info());
|
println!("Chain info: {}", client.chain_info());
|
||||||
|
println!("Cache info: {:?}", client.cache_info());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user