Upgrade tarpc and tokio (#13293)

This commit is contained in:
Greg Fitzgerald
2020-10-29 19:21:18 -06:00
committed by GitHub
parent b5c8b86e7c
commit ca00197009
10 changed files with 269 additions and 130 deletions

View File

@ -22,7 +22,7 @@ fn main() -> Result<(), Box<dyn Error>> {
let url = Url::parse(&rpc_banks_url)?;
let host_port = (url.host_str().unwrap(), url.port().unwrap());
let mut runtime = Runtime::new().unwrap();
let runtime = Runtime::new().unwrap();
let mut banks_client = runtime.block_on(start_tcp_client(&host_port))?;
match command_args.command {