diff --git a/.circleci/config.yml b/.circleci/config.yml index 197f22f..61a4657 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,10 +50,11 @@ jobs: cargo --version cargo test --all-features -- --test-threads 1 - run: - name: audit + name: security audit command: | + cargo install --force cargo-audit cargo audit --version - cargo audit + cargo audit --deny-warnings --ignore RUSTSEC-2019-0031 - run: name: validate against test harness command: | diff --git a/src/rpc.rs b/src/rpc.rs index 22a34a3..fb14a59 100644 --- a/src/rpc.rs +++ b/src/rpc.rs @@ -45,7 +45,7 @@ pub trait TendermintRequest: SignableMsg { fn build_response(self, error: Option) -> Response; } -fn compute_prefix(name: &str) -> (Vec) { +fn compute_prefix(name: &str) -> Vec { let mut sh = Sha256::default(); sh.input(name.as_bytes()); let output = sh.result();