Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Jun 17, 2021
1 parent 62b7277 commit d1b23b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/babe/babe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func createTestService(t *testing.T, cfg *ServiceConfig) *Service {
}

cfg.BlockImportHandler = new(mocks.BlockImportHandler)
cfg.BlockImportHandler.(*mocks.BlockImportHandler).On("HandleBlockImport", mock.AnythingOfType("*types.Block"), mock.AnythingOfType("*storage.TrieState")).Return(nil)
cfg.BlockImportHandler.(*mocks.BlockImportHandler).On("HandleBlockProduced", mock.AnythingOfType("*types.Block"), mock.AnythingOfType("*storage.TrieState")).Return(nil)

if cfg.Keypair == nil {
cfg.Keypair, err = sr25519.GenerateKeypair()
Expand Down

0 comments on commit d1b23b1

Please sign in to comment.