Skip to content

Commit

Permalink
Fix config parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
yzang2019 committed Oct 17, 2024
1 parent 0a4cd52 commit 9bf8752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ func createPeerManager(
}

peers = append(peers, address)
options.BlockSyncPeers = append(options.PersistentPeers, address.NodeID)
options.BlockSyncPeers = append(options.BlockSyncPeers, address.NodeID)

Check warning on line 265 in node/setup.go

View check run for this annotation

Codecov / codecov/patch

node/setup.go#L264-L265

Added lines #L264 - L265 were not covered by tests
}

for _, p := range tmstrings.SplitAndTrimEmpty(cfg.P2P.UnconditionalPeerIDs, ",", " ") {
Expand Down

0 comments on commit 9bf8752

Please sign in to comment.