Skip to content

Commit 51795b9

Browse files
committed
fix: disable batch-poster check while enable external signer
1 parent e833630 commit 51795b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nitro/nitro.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func mainImpl() int {
249249
// If sequencer and signing is enabled or batchposter is enabled without
250250
// external signing sequencer will need a key.
251251
sequencerNeedsKey := (nodeConfig.Node.Sequencer && !nodeConfig.Node.Feed.Output.DisableSigning) ||
252-
(nodeConfig.Node.BatchPoster.Enable && (nodeConfig.Node.BatchPoster.DataPoster.ExternalSigner.URL == "" || nodeConfig.Node.DataAvailability.Enable))
252+
(nodeConfig.Node.BatchPoster.Enable && (nodeConfig.Node.BatchPoster.DataPoster.ExternalSigner.URL == ""))
253253
validatorNeedsKey := nodeConfig.Node.Staker.OnlyCreateWalletContract ||
254254
(nodeConfig.Node.Staker.Enable && !strings.EqualFold(nodeConfig.Node.Staker.Strategy, "watchtower") && nodeConfig.Node.Staker.DataPoster.ExternalSigner.URL == "")
255255

0 commit comments

Comments
 (0)