Skip to content

Commit a021485

Browse files
committed
lint forEach remove
1 parent dc26318 commit a021485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/schemas/event.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ export function toContractEventV4Schema(
4343

4444
// backwards compatibility of BigInt(v5) to BigNumber(v4)
4545
const data: Record<string, unknown> = {};
46-
Object.keys(eventV5.args).forEach((key) => {
46+
for (const key of Object.keys(eventV5.args)) {
4747
let value = eventV5.args[key];
4848
if (typeof value === "bigint") {
4949
value = BigNumber.from(value.toString());
5050
}
5151
data[key] = value;
52-
});
52+
}
5353

5454
return {
5555
eventName,

0 commit comments

Comments
 (0)