File tree 2 files changed +9
-5
lines changed 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ require (
21
21
github.com/btcsuite/btcd/btcutil v1.1.1
22
22
)
23
23
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(
329
329
statefulsyncer .WithMaxConcurrency (config .MaxSyncConcurrency ),
330
330
statefulsyncer .WithPastBlockLimit (config .MaxReorgDepth ),
331
331
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
+ },
336
340
),
337
341
}
338
342
if config .Data .PruningFrequency != nil {
You can’t perform that action at this time.
0 commit comments