diff --git a/system-tests/test/deposit-redemption.test.ts b/system-tests/test/deposit-redemption.test.ts index 3ed7db092..fafeebd1e 100644 --- a/system-tests/test/deposit-redemption.test.ts +++ b/system-tests/test/deposit-redemption.test.ts @@ -210,7 +210,7 @@ describe("System Test - Deposit and redemption", () => { const depositRawTxVectors = extractBitcoinRawTxVectors( rawDepositTransaction ) - depositorBridgeHandle.revealDeposit( + await depositorBridgeHandle.revealDeposit( depositRawTxVectors, depositUtxo.outputIndex, depositReceipt @@ -487,7 +487,7 @@ describe("System Test - Deposit and redemption", () => { const depositRawTxVectors = extractBitcoinRawTxVectors( rawDepositTransaction ) - depositorBridgeHandle.revealDeposit( + await depositorBridgeHandle.revealDeposit( depositRawTxVectors, depositUtxo.outputIndex, depositReceipt, @@ -632,11 +632,11 @@ describe("System Test - Deposit and redemption", () => { )}` ) - await depositorBridgeHandle.requestRedemption( + await tbtcTokenHandle.requestRedemption( systemTestsContext.walletBitcoinKeyPair.publicKey.compressed, sweepUtxo, redeemerOutputScript, - tbtcBalanceOfDepositor + tbtcBalanceOfDepositor, ) console.log( diff --git a/system-tests/test/minting-unminting.test.ts b/system-tests/test/minting-unminting.test.ts index 10dea17f8..543384b9b 100644 --- a/system-tests/test/minting-unminting.test.ts +++ b/system-tests/test/minting-unminting.test.ts @@ -226,7 +226,7 @@ describe("System Test - Minting and unminting", () => { const depositRawTxVectors = extractBitcoinRawTxVectors( rawDepositTransaction ) - depositorBridgeHandle.revealDeposit( + await depositorBridgeHandle.revealDeposit( depositRawTxVectors, depositUtxo.outputIndex, depositReceipt,