Skip to content

Commit

Permalink
fix: wrap dashmap in Arc (alloy-rs#1624)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse authored Nov 6, 2024
1 parent eafe270 commit 560f052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/provider/src/fillers/nonce.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl NonceManager for SimpleNonceManager {
/// transaction count locally.
#[derive(Clone, Debug, Default)]
pub struct CachedNonceManager {
nonces: DashMap<Address, Arc<Mutex<u64>>>,
nonces: Arc<DashMap<Address, Arc<Mutex<u64>>>>,
}

#[cfg_attr(target_arch = "wasm32", async_trait(?Send))]
Expand Down

0 comments on commit 560f052

Please sign in to comment.