Skip to content

Commit

Permalink
stellar#5161: archive pool pass entire config block to archive
Browse files Browse the repository at this point in the history
  • Loading branch information
sreuland committed Jan 17, 2024
1 parent 35e33bf commit 5bb1df7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions historyarchive/archive_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ func NewArchivePool(archiveURLs []string, config ConnectOptions) (ArchivePool, e
for _, url := range archiveURLs {
archive, err := Connect(
url,
ConnectOptions{
NetworkPassphrase: config.NetworkPassphrase,
CheckpointFrequency: config.CheckpointFrequency,
Context: config.Context,
UserAgent: config.UserAgent,
},
config,
)

if err != nil {
Expand Down

0 comments on commit 5bb1df7

Please sign in to comment.