Skip to content

Commit

Permalink
Merge pull request #2669 from OffchainLabs/gligneul/external-signer-f…
Browse files Browse the repository at this point in the history
…or-anytrust

[NIT-2774] Enable external-signer for batch-poster with DA
  • Loading branch information
PlasmaPower authored Sep 26, 2024
2 parents 85fe284 + cc3a52a commit f549194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nitro/nitro.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func mainImpl() int {
// If sequencer and signing is enabled or batchposter is enabled without
// external signing sequencer will need a key.
sequencerNeedsKey := (nodeConfig.Node.Sequencer && !nodeConfig.Node.Feed.Output.DisableSigning) ||
(nodeConfig.Node.BatchPoster.Enable && nodeConfig.Node.BatchPoster.DataPoster.ExternalSigner.URL == "")
(nodeConfig.Node.BatchPoster.Enable && (nodeConfig.Node.BatchPoster.DataPoster.ExternalSigner.URL == "" || nodeConfig.Node.DataAvailability.Enable))
validatorNeedsKey := nodeConfig.Node.Staker.OnlyCreateWalletContract ||
(nodeConfig.Node.Staker.Enable && !strings.EqualFold(nodeConfig.Node.Staker.Strategy, "watchtower") && nodeConfig.Node.Staker.DataPoster.ExternalSigner.URL == "")

Expand Down

0 comments on commit f549194

Please sign in to comment.