// Get returns a transaction if it exists in the lookup, or nil if not found.
Get returns a transaction if it exists in the lookup, or nil if not found.
// Get returns a transaction if it exists in the lookup or nil if not found .
func (t *txLookup) Get(hash common.Hash) *types.Transaction {
	t.lock.RLock()
	defer t.lock.RUnlock()
	tx := t.all[hash]
	return tx
}
func ( t * txLookup ) Get ( hash common . Hash ) * types . Transaction { t . lock . RLock ( ) defer t . lock . RUnlock ( ) tx := t . all [ hash ] return tx }
Get returns a transaction if it exists in the lookup, or nil if not found.
Get returns a transaction if it exists in the lookup or nil if not found .