diff --git a/blockchain/blockchain.go b/blockchain/blockchain.go index 1d549b637e..5133bd8278 100644 --- a/blockchain/blockchain.go +++ b/blockchain/blockchain.go @@ -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 diff --git a/txpool/txpool.go b/txpool/txpool.go index 2f613b6b1a..01075f2cda 100644 --- a/txpool/txpool.go +++ b/txpool/txpool.go @@ -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