fix: warning when @NoConstraintPropagation used needs to use the correct class loader (#5690)

This commit is contained in:
Roman Plášil 2019-11-27 23:35:09 +08:00 committed by Stefano Franz
parent 45d6d3ead4
commit 200f39de97

View File

@ -295,7 +295,7 @@ abstract class Verifier(val ltx: LedgerTransaction, protected val transactionCla
for (contractClassName in (inputContractGroups.keys + outputContractGroups.keys)) {
if (!contractClassName.contractHasAutomaticConstraintPropagation(transactionClassLoader)) {
contractClassName.warnContractWithoutConstraintPropagation()
contractClassName.warnContractWithoutConstraintPropagation(transactionClassLoader)
continue
}