Remove mut where possible, parallel cache requests (#668)

This commit is contained in:
Drazen Urch
2021-07-02 10:50:49 +02:00
committed by GitHub
parent f08f19cd86
commit 3aafe54887
7 changed files with 16 additions and 28 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ impl MixNode {
self.config.get_validator_rest_endpoints(),
self.config.get_validator_mixnet_contract_address(),
);
let mut validator_client = validator_client::Client::new(validator_client_config);
let validator_client = validator_client::Client::new(validator_client_config);
let existing_nodes = match validator_client.get_mix_nodes().await {
Ok(nodes) => nodes,