Skip to content

Commit

Permalink
fix: fix master
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Mar 31, 2022
1 parent 794c9cd commit e2a561f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sui/src/microbench_latency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,10 @@ impl FixedRateBenchmark {
times
}

async fn spawn_server(&self, state: AuthorityState) -> transport::SpawnedServer {
async fn spawn_server(
&self,
state: AuthorityState,
) -> transport::SpawnedServer<AuthorityServer> {
let server = AuthorityServer::new(self.host.clone(), self.port, self.buffer_size, state);
server.spawn().await.unwrap()
}
Expand Down

0 comments on commit e2a561f

Please sign in to comment.