Skip to content

Commit 0e98d28

Browse files
manav2401lucca30
authored andcommitted
internal/cli/server: wire txpool.locals flag to txpool config (#2114)
(cherry picked from commit 4a69ee3)
1 parent 26dc364 commit 0e98d28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

internal/cli/server/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,9 @@ func (c *Config) buildEth(stack *node.Node, accountManager *accounts.Manager) (*
12091209

12101210
// txpool options
12111211
{
1212+
for _, addrStr := range c.TxPool.Locals {
1213+
n.TxPool.Locals = append(n.TxPool.Locals, common.HexToAddress(addrStr))
1214+
}
12121215
n.TxPool.NoLocals = c.TxPool.NoLocals
12131216
n.TxPool.Journal = c.TxPool.Journal
12141217
n.TxPool.Rejournal = c.TxPool.Rejournal

0 commit comments

Comments
 (0)