Skip to content

Commit

Permalink
fix: missing parentheses in helios-ts/lib.ts (#440)
Browse files Browse the repository at this point in the history
* fix: missing parentheses in helios-ts/lib.ts

* fix: missing parentheses in helios-ts/lib.ts
  • Loading branch information
eshaan7 authored Nov 22, 2024
1 parent 71a6ed4 commit edbfdeb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions helios-ts/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ export class HeliosProvider {
const executionRpc = config.executionRpc;
const network = config.network;

this.#client = new OpStackClient(
executionRpc,
network,
);
this.#client = new OpStackClient(executionRpc, network);
} else {
throw "invalid kind: must be ethereum or opstack";
}
Expand Down Expand Up @@ -108,9 +105,12 @@ export class HeliosProvider {
return this.#client.get_transaction_by_hash(req.params[0]);
}
case "eth_getTransactionByBlockHashAndIndex": {
return this.#client.get_transaction_by_block_hash_and_index(req.params[0], req.params[1]);
return this.#client.get_transaction_by_block_hash_and_index(
req.params[0],
req.params[1]
);
}
case "eth_getBlockReceipts":
case "eth_getBlockReceipts": {
return this.#client.get_block_receipts(req.params[0]);
}
case "eth_getLogs": {
Expand Down

0 comments on commit edbfdeb

Please sign in to comment.