// Add adds a transaction to the lookup.
Add adds a transaction to the lookup.
// Add adds a transaction to the lookup .
func (t *txLookup) Add(tx *types.Transaction) {
	t.lock.Lock()
	defer t.lock.Unlock()
	hash := tx.Hash()
	t.all[hash] = tx
}
func ( t * txLookup ) Add ( tx * types . Transaction ) { t . lock . Lock ( ) defer t . lock . Unlock ( ) hash := tx . Hash ( ) t . all [ hash ] = tx }
Add adds a transaction to the lookup.
Add adds a transaction to the lookup .
//log.Info("file tx_pool", "all.Add()", hash.String())