Skip to content

Commit

Permalink
fix: fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiorigam committed Oct 30, 2023
1 parent c0c98e8 commit 696779c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/network/src/driver/driver-no-vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class DriverNoVendor {
let attemptWs = false;
try {
const best = await this.int.wrap<Block>(
this.httpGet('blocks/best')
this.httpGet('blocks/best') as Promise<Block>
);
if (
best.id !== this.head.id &&
Expand Down

0 comments on commit 696779c

Please sign in to comment.