mirror of
https://github.com/corda/corda.git
synced 2024-12-28 16:58: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 {
|
Platform.runLater {
|
||||||
states.value = statesInVault.first.size.toString()
|
states.value = statesInVault.first.size.toString()
|
||||||
transactions.value = verifiedTx.first.size.toString()
|
transactions.value = verifiedTx.first.size.toString()
|
||||||
balance.value = cashBalances
|
balance.value = if (cashBalances.isNullOrEmpty()) "0" else cashBalances
|
||||||
}
|
}
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
log.warning("RPC failed: " + e)
|
log.warning("RPC failed: " + e)
|
||||||
|
Loading…
Reference in New Issue
Block a user