Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Jan 8, 2026

Automatic Release PR

This PR was automatically created after changes were pushed to develop.

Commits: 1 new commit(s)

Checklist

  • Review all changes
  • Verify CI passes
  • Approve and merge when ready for production

davidleomay and others added 2 commits January 8, 2026 17:41
* fix: use correct refund currency (CHF only for CH/LI IBANs)

* fix: fix test failures for isDomesticIban and refundPrice

- Use Object.assign in TestUtil.provideConfig to preserve class methods
  (spread operator only copies enumerable properties, not methods)
- Add pricingService.getPrice mock to manualPrice test
  (required since new code calls getPrice for refundPrice conversion)
- Update expected refundAmount from 99.87 to 99.88 (rounding adjustment)

* fix: valid only price

---------

Co-authored-by: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com>
@github-actions
Copy link
Author

github-actions bot commented Jan 8, 2026

🤖 PR Review Bot

⚠️ Unverified Commits (1)

The following commits are not signed/verified:

How to sign commits
# SSH signing (recommended)
git config --global gpg.format ssh
git config --global user.signingkey ~/.ssh/id_ed25519.pub
git config --global commit.gpgsign true

# Re-sign last commit
git commit --amend -S --no-edit
git push --force-with-lease

⚠️ Non-Conventional Commits (1)

The following commits don't follow conventional commit format:

Expected: type(scope): description
Types: feat, fix, refactor, test, ci, docs, chore, perf, style, build, revert


⚠️ Security: 0 critical, 67 high vulnerabilities


This is an automated review. Please address the issues above.

TaprootFreak and others added 5 commits January 9, 2026 08:48
…2884)

Remove the confirmation requirement from checkTransferCompletion().
Previously, Bitcoin withdrawals from exchanges (e.g., Binance) had to
wait for 1 blockchain confirmation before the liquidity pipeline could
continue and trigger buy payouts.

Now, as soon as the withdrawal TX is visible in the mempool, the
pipeline completes and buy payouts can be created immediately.

This works because:
- getBalance() already includes untrusted_pending (unconfirmed external)
- sendMany() already uses include_unsafe: true for coin selection
- CPFP fee multiplier is active for unconfirmed UTXOs

Expected improvement: Buy payouts can occur in the same block as the
exchange withdrawal instead of the next block (~10-15 min faster).
* feat: enhance resetAmlCheck with full reset and audit logging

- Add priceSteps, priceDefinitionAllowedDate, usedFees, bankFeeAmount
  to resetAmlCheck() in BuyFiat entity for complete price recalculation
- Create SupportLog entry when resetAmlCheck is called, documenting:
  - Previous amlCheck and amlReason
  - Output amount and asset
  - FiatOutput ID and transmission status
  - Price definition date
- Export SupportLogService from SupportIssueModule
- Import SupportIssueModule in SellCryptoModule

This ensures full traceability when admin resets a BuyFiat transaction,
e.g. when bank (Yapeal) rejects a payout.

* fix: add null check for userData in resetAmlCheck

* fix: add outputAsset to relations for complete audit log

* test: add SupportLogService mock to buy-fiat.service.spec
- Remove maerkiBaumannEnable flag from Country entity
- Remove Maerki-specific country check logic from Bank entity
- Update default bank for SEPA payments from Maerki to Yapeal
- Remove Maerki from blockchain-to-bank mapping
- Update all tests to use Yapeal instead of Maerki
- Replace maerkiEUR/maerkiCHF mocks with yapealEUR/yapealCHF
- Preserve IbanBankName.MAERKI and Blockchain.MAERKI_BAUMANN enums for database compatibility
@davidleomay davidleomay merged commit d042ad3 into master Jan 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants