Skip to content

Commit 2468c17

Browse files
Add transaction hash to max wait time error
1 parent ad2d225 commit 2468c17

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/odd-fans-tickle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Add transaction hash to max wait time error

packages/thirdweb/src/transaction/actions/wait-for-tx-receipt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function waitForReceipt(
7272
unwatch();
7373
reject(
7474
new Error(
75-
`Transaction not found after ${maxBlocksWaitTime} blocks`,
75+
`Transaction receipt for ${transactionHash} not found after ${maxBlocksWaitTime} blocks`,
7676
),
7777
);
7878
return;

0 commit comments

Comments
 (0)