Skip to content

Commit

Permalink
Bump init_once
Browse files Browse the repository at this point in the history
  • Loading branch information
sug0 committed Aug 1, 2024
1 parent 8353ef4 commit 0861131
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Up @@ -117,7 +117,7 @@ ibc-testkit = { git = "https://github.com/cosmos/ibc-rs", rev = "7ff41b3804cda64
ics23 = "0.11.0"
index-set = { git = "https://github.com/heliaxdev/index-set", tag = "v0.8.1", features = ["serialize-borsh", "serialize-serde"] }
indexmap = { git = "https://github.com/heliaxdev/indexmap", tag = "2.2.4-heliax-1", features = ["borsh-schema", "serde"] }
init-once = "0.3.0"
init-once = "0.4.3"
itertools = "0.12.1"
jubjub = "0.10"
k256 = { version = "0.13.0", default-features = false, features = ["ecdsa", "pkcs8", "precomputed-tables", "serde", "std"]}
Expand Down
4 changes: 2 additions & 2 deletions crates/sdk/src/masp/shielded_sync/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ impl IndexerMaspClient {
indexer_api,
semaphore: Semaphore::new(MAX_CONCURRENT_REQUESTS),
block_index: {
let index = init_once::InitOnce::new();
let mut index = init_once::InitOnce::new();
if !using_block_index {
debug_assert!(index.try_init(|| None).is_some());
index.init(|| None);
}
index
},
Expand Down
4 changes: 2 additions & 2 deletions wasm/Cargo.lock

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

4 changes: 2 additions & 2 deletions wasm_for_tests/Cargo.lock

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

0 comments on commit 0861131

Please sign in to comment.