Skip to content

Commit a986ce4

Browse files
committed
fix: await tx confirmation
1 parent c64a7cf commit a986ce4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/kms-signing.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ export class KMSSigner {
295295
throw new Error('Invalid transaction response')
296296
}
297297

298+
await provider.waitForTransaction(response.hash)
299+
298300
// Verify transaction was actually submitted
299301
const txCheck = await provider.getTransaction(response.hash)
300302
if (!txCheck) {

0 commit comments

Comments
 (0)