Skip to content

Commit

Permalink
Merge pull request #36 from nervina-labs/develop
Browse files Browse the repository at this point in the history
Release v0.4.5
  • Loading branch information
duanyytop authored May 20, 2022
2 parents c08a4e4 + aa3e3e4 commit 0fd5b0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cota-registry-aggregator"
version = "0.4.3"
version = "0.4.5"
edition = "2018"

[dependencies]
Expand Down
4 changes: 2 additions & 2 deletions src/smt/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ pub async fn generate_registry_smt(
}

let smt_root_opt = get_registry_smt_root().await?;
let transaction = StoreTransaction::new(db.transaction());
let mut smt = init_smt(&transaction)?;
let transaction = &StoreTransaction::new(db.transaction());
let mut smt = init_smt(transaction)?;

with_lock(|| {
generate_history_smt(&mut smt, smt_root_opt)?;
Expand Down

0 comments on commit 0fd5b0a

Please sign in to comment.