Skip to content

Commit

Permalink
chore(geometric txmgr): uncomment code that was commented while debug…
Browse files Browse the repository at this point in the history
…ging
  • Loading branch information
samlaf committed Aug 9, 2024
1 parent e6ab890 commit 63832fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chainio/txmgr/geometric/geometric.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ func (t *GeometricTxManager) ensureAnyTransactionConfirmed(
// TODO(samlaf): how to maintain these better? How do we know which errors to use and where they are
// returned from?
if errors.Is(err, ethereum.NotFound) || errors.Is(err, wallet.ErrReceiptNotYetAvailable) {
// t.logger.Debug("Transaction not yet mined", "nonce", tx.Nonce(), "txID", txID, "txHash",
// tx.Hash().Hex(), "err", err)
t.logger.Debug("Transaction not yet mined", "nonce", tx.Nonce(), "txID", txID, "txHash",
tx.Hash().Hex(), "err", err)
} else if errors.Is(err, wallet.ErrTransactionFailed) {
t.logger.Debug("Transaction failed", "txID", txID, "txHash", tx.Hash().Hex(), "err", err)
// Remove the transaction from the list of transactions to query.
Expand Down

0 comments on commit 63832fc

Please sign in to comment.