Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Mar 30, 2023
1 parent 79b5e58 commit 7d33f1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/babe/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,8 @@ func createTestService(t *testing.T, cfg ServiceConfig, genesis genesis.Genesis,

// Allow for epoch state to be made from custom babe config
if babeConfig != nil {
dbSrv.Epoch, err = state.NewEpochStateFromGenesis(dbSrv.DB(), dbSrv.Block, babeConfig)
dbSrv.Epoch, err = state.NewEpochStateFromGenesis(dbSrv.DB(),
dbSrv.Base, dbSrv.Block, babeConfig)
require.NoError(t, err)
}
cfg.BlockState = dbSrv.Block
Expand Down

0 comments on commit 7d33f1a

Please sign in to comment.