Merge pull request #3837 from corda/feature/fix-is-relevant-in-cash-selection

Fix "isRelevant" functionality - fix is_modifiable column condition in cash selection.
This commit is contained in:
PokeyBot 2018-08-22 16:30:50 +01:00 committed by GitHub
commit d9ab141c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ class CashSelectionSQLServerImpl : AbstractCashSelection() {
ON vs.transaction_id = ccs.transaction_id AND vs.output_index = ccs.output_index
WHERE
vs.state_status = 0
vs.is_modifiable = 0
AND vs.is_modifiable = 0
AND ccs.ccy_code = ?
AND (vs.lock_id = ? OR vs.lock_id IS NULL)
"""