Skip to content

Commit

Permalink
fix: tiping issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Nov 29, 2022
1 parent c659785 commit 78aa340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/provider/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ export class RpcProvider implements ProviderInterface {
public async waitForTransaction(txHash: string, retryInterval: number = 8000) {
let { retries } = this;
let onchain = false;
let txReceipt;
let txReceipt: any = {};

while (!onchain) {
const successStates = ['ACCEPTED_ON_L1', 'ACCEPTED_ON_L2', 'PENDING'];
Expand Down

0 comments on commit 78aa340

Please sign in to comment.