Skip to content

Commit

Permalink
Fixed bad logic for searching prefetched transactions by hash (#4868).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Dec 3, 2024
1 parent 474a8de commit ef3c9bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src.ts/providers/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ export class Block implements BlockParams, Iterable<string> {
tx = v;
break;
} else {
if (v.hash === hash) { continue; }
if (v.hash !== hash) { continue; }
tx = v;
break;
}
Expand Down

0 comments on commit ef3c9bc

Please sign in to comment.