Skip to content

Commit 3417fcb

Browse files
Merge branch 'v3.9.x-release' into split-val
2 parents 36c064f + 5ee3766 commit 3417fcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

arbnode/node.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,6 +835,9 @@ func getStaker(
835835
return nil, nil, common.Address{}, err
836836
}
837837
if config.Staker.UseSmartContractWallet {
838+
if !l1Reader.Started() {
839+
l1Reader.Start(ctx)
840+
}
838841
err = wallet.InitializeAndCreateSCW(ctx)
839842
} else {
840843
err = wallet.Initialize(ctx)
@@ -1469,7 +1472,7 @@ func (n *Node) Start(ctx context.Context) error {
14691472
if n.Staker != nil {
14701473
n.Staker.Start(ctx)
14711474
}
1472-
if n.L1Reader != nil {
1475+
if n.L1Reader != nil && !n.L1Reader.Started() {
14731476
n.L1Reader.Start(ctx)
14741477
}
14751478
if n.BroadcastClients != nil {

0 commit comments

Comments
 (0)