Remove mut where possible, parallel cache requests (#668)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user