Skip to content

Commit

Permalink
Update node.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Dec 3, 2024
1 parent 1ccf47b commit d5acba1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arbnode/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -733,14 +733,12 @@ func createNodeImpl(
nilWriter := false
switch strings.ToLower(providerName) {
case "anytrust":
log.Info("Adding DapWriter", "type", "anytrust")
if daWriter != nil {
dapWriters = append(dapWriters, daprovider.NewWriterForDAS(daWriter))
} else {
nilWriter = true
}
case "celestia":
log.Info("Adding DapWriter", "type", "celestia")
if celestiaWriter != nil {
dapWriters = append(dapWriters, celestiaTypes.NewWriterForCelestia(celestiaWriter))
} else {
Expand Down

0 comments on commit d5acba1

Please sign in to comment.