Minor fix following rebase to incoporate Ross changes to CashState definition.

This commit is contained in:
Jose Coll
2016-11-01 16:29:21 +00:00
parent be3b7b14bd
commit e449ba93c4
2 changed files with 2 additions and 53 deletions

View File

@ -147,7 +147,7 @@ class NodeVaultService(private val services: ServiceHub) : SingletonSerializeAsT
var acceptableCoins = run {
val ofCurrency = assetsStates.filter { it.state.data.amount.token.product == currency }
if (onlyFromIssuers != null)
ofCurrency.filter { it.state.data.amount.token.issuer.party in onlyFromIssuers }
ofCurrency.filter { it.state.data.amount.token.issuer in onlyFromIssuers }
else
ofCurrency
}