[bisq-network/bisq] Fix calculation & display of Locked Funds (PR #5813)
chimp1984
notifications at github.com
Tue Nov 9 21:00:54 CET 2021
NACK
This will not fix it as the call checks if the state.ordinal is >= DEPOSIT_PUBLISHED so DEPOSIT_CONFIRMED is included in that as well.
```
public boolean isDepositPublished() {
return getTradePhase().ordinal() >= Phase.DEPOSIT_PUBLISHED.ordinal();
}
public enum Phase implements TradePhase {
INIT,
TAKER_FEE_PUBLISHED,
DEPOSIT_PUBLISHED,
DEPOSIT_CONFIRMED,
FIAT_SENT,
FIAT_RECEIVED,
PAYOUT_PUBLISHED,
WITHDRAWN;
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5813#issuecomment-964490231
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211109/66d7cfe3/attachment.htm>
More information about the bisq-github
mailing list