Add missing err checks on From() (skip RPC for now)

This commit is contained in:
Gustav Simonsson
2015-06-01 22:00:48 +02:00
parent 5b14fdb94b
commit 147a699c65
4 changed files with 25 additions and 18 deletions

View File

@ -277,7 +277,7 @@ func (pool *TxPool) Stop() {
}
func (self *TxPool) queueTx(tx *types.Transaction) {
from, _ := tx.From()
from, _ := tx.From() // already validated
self.queue[from] = append(self.queue[from], tx)
}