Skip to content

Commit ef3c9bc

Browse files
committed
Fixed bad logic for searching prefetched transactions by hash (#4868).
1 parent 474a8de commit ef3c9bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src.ts/providers/provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ export class Block implements BlockParams, Iterable<string> {
711711
tx = v;
712712
break;
713713
} else {
714-
if (v.hash === hash) { continue; }
714+
if (v.hash !== hash) { continue; }
715715
tx = v;
716716
break;
717717
}

0 commit comments

Comments
 (0)