Skip to content

Commit 4f5d055

Browse files
authored
Merge pull request #3 from bobanetwork/wsdt/secure-finality
fix: await tx confirmation
2 parents c64a7cf + a986ce4 commit 4f5d055

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)