Skip to content

Commit

Permalink
Revert "hotfix: Adding 400ms delay to `getTransactionReceipt/eth_ge…
Browse files Browse the repository at this point in the history
…tTransactionByHash` for OffchainLabs/nitro#2336"

This reverts commit 64af90e.
  • Loading branch information
0xRektora committed Jun 9, 2024
1 parent bcc7206 commit 85a4ffe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/providers/src.ts/json-rpc-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,6 @@ export class JsonRpcProvider extends BaseProvider {
return [ "eth_getTransactionByHash", [ params.transactionHash ] ];

case "getTransactionReceipt":
console.log('[+] @ethers-arbitrum-hotfix package. Adding 400ms delay to getTransaction/eth_getTransactionByHash')
await new Promise(resolve => setTimeout(resolve, 400));
return [ "eth_getTransactionReceipt", [ params.transactionHash ] ];

case "call": {
Expand Down

0 comments on commit 85a4ffe

Please sign in to comment.