mirror of
https://github.com/corda/corda.git
synced 2025-02-21 17:56:54 +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.