Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Clarify FIXME source
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Feb 27, 2019
1 parent ca0f16c commit b6ccb47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ impl Bank {
/// bank will reject transactions using that `last_id`.
pub fn register_tick(&self, last_id: &Hash) {
if self.is_frozen() {
warn!("=========== FIXME: working on a frozen bank! ================");
warn!("=========== FIXME: register_tick() working on a frozen bank! ================");
}
// TODO: put this assert back in
// assert!(!self.is_frozen());
Expand Down Expand Up @@ -346,7 +346,7 @@ impl Bank {

pub fn lock_accounts(&self, txs: &[Transaction]) -> Vec<Result<()>> {
if self.is_frozen() {
warn!("=========== FIXME: working on a frozen bank! ================");
warn!("=========== FIXME: lock_accounts() working on a frozen bank! ================");
}
// TODO: put this assert back in
// assert!(!self.is_frozen());
Expand Down Expand Up @@ -542,7 +542,7 @@ impl Bank {
executed: &[Result<()>],
) -> Vec<Result<()>> {
if self.is_frozen() {
warn!("=========== FIXME: working on a frozen bank! ================");
warn!("=========== FIXME: commit_transactions() working on a frozen bank! ================");
}
// TODO: put this assert back in
// assert!(!self.is_frozen());
Expand Down

0 comments on commit b6ccb47

Please sign in to comment.