File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -19,17 +19,6 @@ package legacypool
1919
2020import (
2121 "errors"
22- "maps"
23- "math"
24- "math/big"
25- "slices"
26- "sort"
27- "sync"
28- "sync/atomic"
29- "time"
30-
31- "github.com/holiman/uint256"
32-
3322 "github.com/ethereum/go-ethereum/common"
3423 "github.com/ethereum/go-ethereum/common/prque"
3524 "github.com/ethereum/go-ethereum/consensus/misc/eip1559"
@@ -43,6 +32,15 @@ import (
4332 "github.com/ethereum/go-ethereum/metrics"
4433 "github.com/ethereum/go-ethereum/params"
4534 "github.com/ethereum/go-ethereum/rlp"
35+ "github.com/holiman/uint256"
36+ "maps"
37+ "math"
38+ "math/big"
39+ "slices"
40+ "sort"
41+ "sync"
42+ "sync/atomic"
43+ "time"
4644)
4745
4846const (
@@ -1850,7 +1848,7 @@ func (t *lookup) removeAuthorities(tx *types.Transaction) {
18501848 }
18511849}
18521850
1853- // delegationTxsCount return the txs which set auth to addr
1851+ // delegationTxsCount returns the number of pending authorizations for the specified address.
18541852func (t * lookup ) delegationTxsCount (addr common.Address ) int {
18551853 t .lock .RLock ()
18561854 defer t .lock .RUnlock ()
You can’t perform that action at this time.
0 commit comments