Skip to content

Commit 142d77e

Browse files
lint
1 parent 81fe928 commit 142d77e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/thirdweb/src/wallets/smart/lib/bundler.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function getUserOpGasFees(args: {
149149
export async function getUserOpReceipt(
150150
args: BundlerOptions & {
151151
userOpHash: Hex;
152-
}
152+
},
153153
): Promise<TransactionReceipt | undefined> {
154154
const res = await getUserOpReceiptRaw(args);
155155

@@ -166,7 +166,7 @@ export async function getUserOpReceipt(
166166
const revertReason = logs[0]?.args?.revertReason;
167167
if (!revertReason) {
168168
throw new Error(
169-
`UserOp failed at txHash: ${res.receipt.transactionHash}`
169+
`UserOp failed at txHash: ${res.receipt.transactionHash}`,
170170
);
171171
}
172172
const revertMsg = decodeErrorResult({
@@ -175,7 +175,7 @@ export async function getUserOpReceipt(
175175
throw new Error(
176176
`UserOp failed with reason: '${revertMsg.args.join(",")}' at txHash: ${
177177
res.receipt.transactionHash
178-
}`
178+
}`,
179179
);
180180
}
181181
return res.receipt;
@@ -200,7 +200,7 @@ export async function getUserOpReceipt(
200200
export async function getUserOpReceiptRaw(
201201
args: BundlerOptions & {
202202
userOpHash: Hex;
203-
}
203+
},
204204
): Promise<UserOperationReceipt | undefined> {
205205
const res = await sendBundlerRequest({
206206
options: args,
@@ -297,7 +297,7 @@ async function sendBundlerRequest(args: {
297297
throw new Error(
298298
`${operation} error: ${error}
299299
Status: ${response.status}
300-
Code: ${code}`
300+
Code: ${code}`,
301301
);
302302
}
303303

0 commit comments

Comments
 (0)