Skip to content

Commit

Permalink
ledger_transactions: Delete temp print statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Jun 10, 2024
1 parent b650336 commit 0d0c1da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ledger/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,15 @@ impl Ledger {
}
/// Checks if a transaction is OK or not.
pub fn check_transaction(&self, transaction: Transaction) -> bool {
println!("check tr");
if let Ok(()) = self
.database
.lock()
.unwrap()
.verify_transaction(&transaction)
{
println!("check tr1");
return true;
};

println!("check tr2");
false
}
}
Expand Down

0 comments on commit 0d0c1da

Please sign in to comment.