Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
simbahebinbo committed Jul 12, 2023
1 parent 24877c1 commit df99546
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Cargo.lock

c/rust-tests/target
c/rust-tests/Cargo.lock
.idea
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sparse-merkle-tree"
version = "0.6.1"
authors = ["jjy <[email protected]>"]
version = "0.6.2"
authors = ["jjy <[email protected]>, lansheng228 <[email protected]>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/nervosnetwork/sparse-merkle-tree"
Expand Down
5 changes: 1 addition & 4 deletions src/blake2b.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ pub struct Blake2bHasher(Blake2b);

impl Default for Blake2bHasher {
fn default() -> Self {
let blake2b = Blake2bBuilder::new(BLAKE2B_LEN)
// .personal(PERSONALIZATION)
// .key(BLAKE2B_KEY)
.build();
let blake2b = Blake2bBuilder::new(BLAKE2B_LEN).build();
Blake2bHasher(blake2b)
}
}
Expand Down

0 comments on commit df99546

Please sign in to comment.