Skip to content

Commit

Permalink
Marks Bank::unfreeze_for_ledger_tool() as dcou (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Oct 15, 2024
1 parent 715f49f commit e8f7cc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2911,6 +2911,7 @@ impl Bank {
}

// dangerous; don't use this; this is only needed for ledger-tool's special command
#[cfg(feature = "dev-context-only-utils")]
pub fn unfreeze_for_ledger_tool(&self) {
self.freeze_started.store(false, Relaxed);
}
Expand Down

0 comments on commit e8f7cc5

Please sign in to comment.