all: fix spelling errors

This commit is contained in:
Péter Szilágyi
2017-01-06 19:44:35 +02:00
parent ac93a6ff6c
commit 18c77744ff
40 changed files with 65 additions and 65 deletions

View File

@ -321,7 +321,7 @@ func (pool *TxPool) validateTx(tx *types.Transaction) error {
// add validates a transaction and inserts it into the non-executable queue for
// later pending promotion and execution.
func (pool *TxPool) add(tx *types.Transaction) error {
// If the transaction is alreayd known, discard it
// If the transaction is already known, discard it
hash := tx.Hash()
if pool.all[hash] != nil {
return fmt.Errorf("Known transaction: %x", hash[:4])