Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
howardwu committed Sep 5, 2022
1 parent c8dbd4a commit a7e1d33
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 6 deletions.
41 changes: 41 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ path = "./environment"
version = "2.0.2"

[dependencies.snarkvm]
path = "../snarkVM"
#git = "https://github.com/AleoHQ/snarkVM.git"
#rev = "69cf3bd"
#path = "../snarkVM"
git = "https://github.com/AleoHQ/snarkVM.git"
rev = "b2cee23"
features = ["circuit", "console", "parallel", "rest", "utilities"]

[dependencies.aleo-std]
Expand Down
6 changes: 3 additions & 3 deletions environment/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ version = "1.0.144"
version = "1"

[dependencies.snarkvm]
path = "../../snarkVM"
#git = "https://github.com/AleoHQ/snarkVM.git"
#rev = "1db1f75"
#path = "../../snarkVM"
git = "https://github.com/AleoHQ/snarkVM.git"
rev = "b2cee23"
features = ["console", "utilities"]

[dependencies.tokio]
Expand Down
1 change: 1 addition & 0 deletions snarkos/ledger/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ impl<N: Network> Ledger<N> {
let address = Address::try_from(&view_key)?;

// Initialize the additional routes.
#[allow(clippy::let_and_return)]
let additional_routes = {
// GET /testnet3/node/address
let get_node_address = warp::get()
Expand Down

0 comments on commit a7e1d33

Please sign in to comment.