core/txpool: make Has docs more clear about the result

This commit is contained in:
lightclient 2025-04-09 14:49:26 -06:00
parent 65752ba6f1
commit 70e48358d1
No known key found for this signature in database
GPG key ID: 657913021EF45A6A

View file

@ -67,8 +67,8 @@ type Reserver interface {
// Returns an error if the address is not reserved or is reserved by another pool.
Release(addr common.Address) error
// Has returns a flag indicating if the address has been reserved by another
// pool or not.
// Has returns a flag indicating if the address has been reserved by a pool
// other than one with the current Reserver handle.
Has(address common.Address) bool
}