Comment that vault returns the total number of available states, irresepective of the query's pagination. (#1045)

This commit is contained in:
Chris Rankin 2017-07-14 09:07:20 +01:00 committed by GitHub
parent e48c1c1689
commit 5be63adae0

View File

@ -193,6 +193,7 @@ class NodeTerminalView : Fragment() {
val (stateInit, stateNext) = ops.vaultTrackBy<ContractState>(paging = pageSpecification) val (stateInit, stateNext) = ops.vaultTrackBy<ContractState>(paging = pageSpecification)
txCount = txInit.size txCount = txInit.size
// This is the total number of states in the vault, regardless of pagination.
stateCount = stateInit.totalStatesAvailable stateCount = stateInit.totalStatesAvailable
Platform.runLater { Platform.runLater {