Skip to content

Commit

Permalink
let compiler infer mutex type
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi committed Apr 1, 2022
1 parent a3e8a33 commit c6ef522
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ impl Blockstore {
block_height_cf,
program_costs_cf,
bank_hash_cf,
new_shreds_signals: Mutex::<Vec<Sender<bool>>>::default(),
completed_slots_senders: Mutex::<Vec<CompletedSlotsSender>>::default(),
new_shreds_signals: Mutex::default(),
completed_slots_senders: Mutex::default(),
shred_timing_point_sender: None,
insert_shreds_lock: Mutex::<()>::default(),
last_root,
Expand Down

0 comments on commit c6ef522

Please sign in to comment.