diff --git a/.github/workflows/node-dev.yaml b/.github/workflows/node-dev.yaml deleted file mode 100644 index ed5350aa65..0000000000 --- a/.github/workflows/node-dev.yaml +++ /dev/null @@ -1,35 +0,0 @@ -name: Node DEV CD - -on: - push: - branches: [ develop ] - paths: [ infrastructure/docker/defi-node-dev.yml ] - workflow_dispatch: - -jobs: - build-and-deploy: - name: Deploy to DEV - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - - name: Login - uses: azure/login@v1 - with: - creds: ${{ secrets.DEV_CREDENTIALS }} - - - name: Deploy to Azure App Service (DEV) - uses: azure/CLI@v1 - with: - inlineScript: | - az webapp config container set --resource-group rg-dfx-api-dev --name app-dfx-node-inp-dev --multicontainer-config-type compose --multicontainer-config-file infrastructure/docker/defi-node-dev.yml - az webapp config container set --resource-group rg-dfx-api-dev --name app-dfx-node-dex-dev --multicontainer-config-type compose --multicontainer-config-file infrastructure/docker/defi-node-dev.yml - az webapp config container set --resource-group rg-dfx-api-dev --name app-dfx-node-inp-dev --multicontainer-config-type compose --multicontainer-config-file infrastructure/docker/defi-node-dev.yml --slot stg - az webapp config container set --resource-group rg-dfx-api-dev --name app-dfx-node-dex-dev --multicontainer-config-type compose --multicontainer-config-file infrastructure/docker/defi-node-dev.yml --slot stg - - - name: Logout - run: | - az logout - if: always() - diff --git a/src/payment/models/crypto-input/defi-input.service.ts b/src/payment/models/crypto-input/defi-input.service.ts index dc0120ec53..f4e139ec2e 100644 --- a/src/payment/models/crypto-input/defi-input.service.ts +++ b/src/payment/models/crypto-input/defi-input.service.ts @@ -81,6 +81,11 @@ export class DeFiInputService extends CryptoInputService { await this.sendFeeUtxo(token.owner); } } else { + // ignoring dust DFI transactions + if (asset === 'DFI' && amount < Config.blockchain.default.minTxAmount) { + continue; + } + // check for min. deposit // TODO: remove temporary DUSD pool fix const usdtAmount = asset === 'DUSD' ? amount : await this.client.testCompositeSwap(asset, 'USDT', amount);