Skip to content

Commit

Permalink
Remove as assertion casting FakeBlockTracer to BlockTracker (#1833
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MajorLift authored Oct 12, 2023
1 parent 2fe9fc7 commit 6b1dab7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/network-controller/tests/NetworkController.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import type {
ProviderConfig,
} from '../src/NetworkController';
import { NetworkController } from '../src/NetworkController';
import type { BlockTracker, Provider } from '../src/types';
import type { Provider } from '../src/types';
import { NetworkClientType } from '../src/types';
import type { FakeProviderStub } from './fake-provider';
import { FakeProvider } from './fake-provider';
Expand Down Expand Up @@ -6957,7 +6957,7 @@ function buildFakeClient(
rpcUrl: 'https://test.network',
},
provider,
blockTracker: new FakeBlockTracker() as BlockTracker,
blockTracker: new FakeBlockTracker(),
destroy: () => {
// do nothing
},
Expand Down

0 comments on commit 6b1dab7

Please sign in to comment.