Minor new cleanup

This commit is contained in:
Michael Vines 2019-01-14 15:48:16 -08:00 committed by Grimes
parent 447243f994
commit e3a96ed3fc
1 changed files with 1 additions and 5 deletions

View File

@ -30,11 +30,7 @@ impl RpcClient {
}
pub fn new_from_socket(addr: SocketAddr) -> Self {
let addr = get_rpc_request_str(addr);
RpcClient {
client: reqwest::Client::new(),
addr,
}
Self::new(get_rpc_request_str(addr))
}
pub fn retry_make_rpc_request(