We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 72bbb72 + 8157c5d commit 5ee3766Copy full SHA for 5ee3766
arbnode/node.go
@@ -835,6 +835,9 @@ func getStaker(
835
return nil, nil, common.Address{}, err
836
}
837
if config.Staker.UseSmartContractWallet {
838
+ if !l1Reader.Started() {
839
+ l1Reader.Start(ctx)
840
+ }
841
err = wallet.InitializeAndCreateSCW(ctx)
842
} else {
843
err = wallet.Initialize(ctx)
@@ -1469,7 +1472,7 @@ func (n *Node) Start(ctx context.Context) error {
1469
1472
if n.Staker != nil {
1470
1473
n.Staker.Start(ctx)
1471
1474
- if n.L1Reader != nil {
1475
+ if n.L1Reader != nil && !n.L1Reader.Started() {
1476
n.L1Reader.Start(ctx)
1477
1478
if n.BroadcastClients != nil {
0 commit comments