Rework validator client requests (#667)

* Rework validator-client to avoid &mut

* Comment

* More logging, sleep

* Fix wasm build

* My clippy missed this
This commit is contained in:
Drazen Urch
2021-07-01 20:05:29 +02:00
committed by GitHub
parent 2e6a32b298
commit f08f19cd86
4 changed files with 65 additions and 58 deletions
@@ -8,6 +8,11 @@ pub enum ValidatorClientError {
#[from]
source: reqwest::Error,
},
#[error("An IO error has occured: {source}")]
IoError {
#[from]
source: std::io::Error,
},
#[error("There was an issue with the validator client - {0}")]
ValidatorError(String),
}