mirror of
https://github.com/corda/corda.git
synced 2024-12-28 00:38:55 +00:00
Display "0" balance for a node which has no cash balances at all.
This commit is contained in:
parent
050b2f0151
commit
6ae8a4da83
@ -103,7 +103,7 @@ class NodeTerminalView : Fragment() {
|
||||
Platform.runLater {
|
||||
states.value = statesInVault.first.size.toString()
|
||||
transactions.value = verifiedTx.first.size.toString()
|
||||
balance.value = cashBalances
|
||||
balance.value = if (cashBalances.isNullOrEmpty()) "0" else cashBalances
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
log.warning("RPC failed: " + e)
|
||||
|
Loading…
Reference in New Issue
Block a user