fixed compile error after merging 29 & 30 (#32)

This commit is contained in:
Marek Kotewicz 2016-10-24 16:42:54 +02:00 committed by Svyatoslav Nikolsky
parent 36c61c0474
commit ec3aee6fab
1 changed files with 1 additions and 2 deletions

View File

@ -171,9 +171,8 @@ impl SyncProtocol {
}
impl Protocol for SyncProtocol {
fn initialize(&mut self, _direction: Direction, version: u32) -> Result<(), Error> {
fn initialize(&mut self, _direction: Direction, version: u32) {
self.inbound_connection.lock().start_sync_session(version);
Ok(())
}
fn on_message(&mut self, command: &Command, payload: &Bytes, version: u32) -> Result<(), Error> {