Skip to content

Commit 359c41b

Browse files
committed
move restrictedaddr service to execution node 2
1 parent 5ff641e commit 359c41b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arbnode/node.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import (
4343
"github.com/offchainlabs/nitro/daprovider/data_streaming"
4444
"github.com/offchainlabs/nitro/execution"
4545
executionrpcclient "github.com/offchainlabs/nitro/execution/rpcclient"
46-
"github.com/offchainlabs/nitro/restrictedaddr"
4746
"github.com/offchainlabs/nitro/solgen/go/bridgegen"
4847
"github.com/offchainlabs/nitro/solgen/go/precompilesgen"
4948
"github.com/offchainlabs/nitro/staker"

execution/gethexec/node.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,9 @@ func (n *ExecutionNode) Start(ctxIn context.Context) error {
516516
}
517517
n.bulkBlockMetadataFetcher.Start(ctx)
518518

519-
n.RestrictedAddrService.Start(ctx)
519+
if n.RestrictedAddrService != nil {
520+
n.RestrictedAddrService.Start(ctx)
521+
}
520522
return nil
521523
}
522524

0 commit comments

Comments
 (0)