Skip to content

Commit

Permalink
chore: improved logging
Browse files Browse the repository at this point in the history
  • Loading branch information
scx1332 committed Apr 25, 2024
1 parent 89dbfee commit 07f5a39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/erc20_payment_lib/src/sender/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ pub async fn process_transaction(

if web3_tx_dao.broadcast_date.is_none() {
log::info!(
"Sending transaction {} with nonce {}",
"Sending transaction with id: {} with nonce {}",
web3_tx_dao.id,
transaction_nonce
);
Expand Down Expand Up @@ -580,7 +580,7 @@ pub async fn process_transaction(
}
} else {
log::info!(
"Latest nonce is not yet reached: {} vs {}",
"Waiting until transaction processed on blockchain. Latest nonce too low: {} vs {}",
latest_nonce,
transaction_nonce + 1
);
Expand Down

0 comments on commit 07f5a39

Please sign in to comment.