fix integration unwind nil pointer (#3763)

This commit is contained in:
Alex Sharov 2022-03-24 15:13:56 +07:00 committed by GitHub
parent 6a345847d8
commit 8754415359
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1168,7 +1168,7 @@ func newSync(ctx context.Context, db kv.RwDB, miningConfig *params.MiningConfig)
sync, err := stages2.NewStagedSync(context.Background(), logger, db, p2p.Config{}, cfg,
chainConfig.TerminalTotalDifficulty, sentryControlServer, tmpdir,
nil, nil, allSn,
&stagedsync.Notifications{}, nil, allSn,
)
if err != nil {
panic(err)