mirror of
https://github.com/corda/corda.git
synced 2025-02-20 01:16:42 +00:00
Current logic in `CashWidget` is not handling well updates done in close succession, i.e. less than 1 second. And such frequent updates do indeed happen, e.g. from: `net.corda.client.jfx.model.ContractStateModel#cashStates` where `list` is modified twice. Also use `.toDecimal()` instead of `.quantity`to have amount represented in pounds rather than in pennies. (cherry picked from commit 952cc35)