Commit c7ad0eba authored by brucexc's avatar brucexc Committed by GitHub

chore: fix typo (#9874)

* chore: fix typo

* chore: fix typo
parent 5804fa8e
......@@ -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()
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment