Skip to content

Release: develop -> main#3467

Merged
TaprootFreak merged 1 commit intomainfrom
develop
Mar 19, 2026
Merged

Release: develop -> main#3467
TaprootFreak merged 1 commit intomainfrom
develop

Conversation

@github-actions
Copy link

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

* Fix finance log double-counting of exchange balances during pending withdrawals

The finance log used Amount (total balance incl. locked funds) as the
liquidity base and added pending exchange orders on top. For exchanges
like Scrypt where Amount includes funds locked for pending withdrawals,
this caused double-counting (~30k CHF overstatement).

Add availableAmount to LiquidityBalance and use it in the finance log.
The available balance excludes locked funds, so pending exchange orders
correctly compensate for the difference.

* chore: refactoring

---------

Co-authored-by: David May <david.leo.may@gmail.com>
@TaprootFreak TaprootFreak merged commit ef37d89 into main Mar 19, 2026
7 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.

1 participant