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) { ...@@ -90,7 +90,7 @@ func (s *SendState) TxMined(txHash common.Hash) {
s.minedTxs[txHash] = struct{}{} 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. // reorg'd out. It is safe to call this function multiple times.
func (s *SendState) TxNotMined(txHash common.Hash) { func (s *SendState) TxNotMined(txHash common.Hash) {
s.mu.Lock() s.mu.Lock()
......
...@@ -418,7 +418,7 @@ func (m *SimpleTxManager) sendTx(ctx context.Context, tx *types.Transaction) (*t ...@@ -418,7 +418,7 @@ func (m *SimpleTxManager) sendTx(ctx context.Context, tx *types.Transaction) (*t
return tx return tx
} }
// Immediately publish a transaction before starting the resumbission loop // Immediately publish a transaction before starting the resubmission loop
tx = publishAndWait(tx, false) tx = publishAndWait(tx, false)
ticker := time.NewTicker(m.cfg.ResubmissionTimeout) 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