diff --git a/src/contract/HandlerBasedContract.ts b/src/contract/HandlerBasedContract.ts index 4e7262f7..8f23dd5a 100644 --- a/src/contract/HandlerBasedContract.ts +++ b/src/contract/HandlerBasedContract.ts @@ -495,7 +495,7 @@ export class HandlerBasedContract implements Contract { if (status.confirmed === null) { this.logger.info(`Transaction ${transactionId} not yet confirmed. Waiting another 20 seconds before next check.`); await sleep(20000); - await this.waitForConfirmation(transactionId); + return this.waitForConfirmation(transactionId); } else { this.logger.info(`Transaction ${transactionId} confirmed`, status); return status;