File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ require (
2121 github.com/btcsuite/btcd/btcutil v1.1.1
2222)
2323
24- replace github.com/coinbase/rosetta-sdk-go => github.com/Concordium/ rosetta-sdk-go v0.7.11-0.20220706095914-7942ab456d4f
24+ replace github.com/coinbase/rosetta-sdk-go => ../ rosetta-sdk-go
Original file line number Diff line number Diff line change @@ -329,10 +329,14 @@ func InitializeData(
329329 statefulsyncer .WithMaxConcurrency (config .MaxSyncConcurrency ),
330330 statefulsyncer .WithPastBlockLimit (config .MaxReorgDepth ),
331331 statefulsyncer .WithSeenConcurrency (int64 (config .SeenBlockWorkers )),
332- statefulsyncer .WithExtraSyncerOpts (
333- syncer .WithCustomHelper (func (h syncer.Helper ) syncer.Helper {
334- return newConcordiumHelper (h )
335- }),
332+ statefulsyncer .WithCustomSyncerOpts (
333+ func (opts ... syncer.Option ) []syncer.Option {
334+ return append (
335+ opts ,
336+ syncer .WithCustomHelper (func (h syncer.Helper ) syncer.Helper {
337+ return newConcordiumHelper (h )
338+ }))
339+ },
336340 ),
337341 }
338342 if config .Data .PruningFrequency != nil {
You can’t perform that action at this time.
0 commit comments