Pass db to init sync (#3946)

This commit is contained in:
terence tsao 2019-11-06 12:56:12 -08:00 committed by Raul Jordan
parent b50f1583f3
commit db866e6580

View File

@ -372,6 +372,7 @@ func (b *BeaconNode) registerInitialSyncService(ctx *cli.Context) error {
}
is := initialsync.NewInitialSync(&initialsync.Config{
DB: b.db,
Chain: chainService,
P2P: b.fetchP2P(ctx),
})