fixed compile error after merging 29 & 30 (#32)
This commit is contained in:
parent
36c61c0474
commit
ec3aee6fab
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue