Fix client builds.

This commit is contained in:
Gav Wood 2016-01-18 19:34:30 +01:00
parent 3740f135f1
commit a2860eb115

View File

@ -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());
} }
} }
} }