Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #387 from tendermint/remove-unnecessary-parens
Browse files Browse the repository at this point in the history
rpc.rs: Remove unnecessary parens
  • Loading branch information
tarcieri authored Dec 31, 2019
2 parents 8bd3bbf + 1d20175 commit 30a7550
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion src/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub trait TendermintRequest: SignableMsg {
fn build_response(self, error: Option<RemoteError>) -> Response;
}

fn compute_prefix(name: &str) -> (Vec<u8>) {
fn compute_prefix(name: &str) -> Vec<u8> {
let mut sh = Sha256::default();
sh.input(name.as_bytes());
let output = sh.result();
Expand Down

0 comments on commit 30a7550

Please sign in to comment.