Skip to content

Commit

Permalink
Correction in Go files (#1739)
Browse files Browse the repository at this point in the history
  • Loading branch information
criadoperez authored Jul 24, 2023
1 parent 14f110b commit b102509
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blockchain/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ func (b *Blockchain) dispatchEvent(evnt *Event) {
}

// writeHeaderImpl writes a block and the data, assumes the genesis is already set
// Returnning parameters (is canonical header, new total difficulty, error)
// Returning parameters (is canonical header, new total difficulty, error)
func (b *Blockchain) writeHeaderImpl(
batchWriter *storage.BatchWriter, evnt *Event, header *types.Header) (bool, *big.Int, error) {
// parent total difficulty of incoming header
Expand Down
2 changes: 1 addition & 1 deletion txpool/txpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ func (p *TxPool) ResetWithHeaders(headers ...*types.Header) {
})
}

// processEvent collects the latest nonces for each account containted
// processEvent collects the latest nonces for each account contained
// in the received event. Resets all known accounts with the new nonce.
func (p *TxPool) processEvent(event *blockchain.Event) {
// Grab the latest state root now that the block has been inserted
Expand Down

0 comments on commit b102509

Please sign in to comment.