From 91d8c1a948b0810b9c8c7e66dff616ddf65f69e1 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Mon, 11 Mar 2024 16:29:42 +0100 Subject: [PATCH] f --- .github/workflows/deposit.yml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deposit.yml b/.github/workflows/deposit.yml index 7b4dcd52..fe4f0140 100644 --- a/.github/workflows/deposit.yml +++ b/.github/workflows/deposit.yml @@ -111,16 +111,9 @@ jobs: - name: Free deposit run: | set -x - erc20_processor cancel-deposit --deposit-id $DEPOSIT_ID0 --account-no 1 - erc20_processor cancel-deposit --deposit-id $DEPOSIT_ID1 --account-no 1 || echo "Error expected (OK)" - erc20_processor cancel-deposit --deposit-id $DEPOSIT_ID1 --account-no 2 || echo "Error expected (OK)" - erc20_processor run - - - name: Withdraw all tokens - run: | - set -x - erc20_processor withdraw --account-no 1 --all - erc20_processor withdraw --account-no 2 --all + erc20_processor close-deposit --deposit-id $DEPOSIT_ID0 --account-no 1 + erc20_processor close-deposit --deposit-id $DEPOSIT_ID1 --account-no 1 || echo "Error expected (OK)" + erc20_processor close-deposit --deposit-id $DEPOSIT_ID1 --account-no 2 || echo "Error expected (OK)" erc20_processor run - name: Transfer all left ETH tokens