From 70e48358d1e003b6c80e607f7e0cd08ef58be74e Mon Sep 17 00:00:00 2001 From: lightclient Date: Wed, 9 Apr 2025 14:49:26 -0600 Subject: [PATCH] core/txpool: make Has docs more clear about the result --- core/txpool/reserver.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/txpool/reserver.go b/core/txpool/reserver.go index 34a9c1ca0f..b6ecef9f1a 100644 --- a/core/txpool/reserver.go +++ b/core/txpool/reserver.go @@ -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 }