Skip to content

Commit

Permalink
chore: fix typo (#9874)
Browse files Browse the repository at this point in the history
* chore: fix typo

* chore: fix typo
  • Loading branch information
brucexc authored and maurelian committed Apr 15, 2024
1 parent 62edd1e commit 584a896
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion op-service/txmgr/send_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (s *SendState) TxMined(txHash common.Hash) {
s.minedTxs[txHash] = struct{}{}
}

// TxMined records that the txn with txnHash has not been mined or has been
// TxNotMined records that the txn with txnHash has not been mined or has been
// reorg'd out. It is safe to call this function multiple times.
func (s *SendState) TxNotMined(txHash common.Hash) {
s.mu.Lock()
Expand Down
2 changes: 1 addition & 1 deletion op-service/txmgr/txmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ func (m *SimpleTxManager) sendTx(ctx context.Context, tx *types.Transaction) (*t
return tx
}

// Immediately publish a transaction before starting the resumbission loop
// Immediately publish a transaction before starting the resubmission loop
tx = publishAndWait(tx, false)

ticker := time.NewTicker(m.cfg.ResubmissionTimeout)
Expand Down

0 comments on commit 584a896

Please sign in to comment.