restored 1of2 validator for C (was off to test markerValidator)

This commit is contained in:
dimxy
2019-01-22 22:02:43 +05:00
parent de8af6cc93
commit 6481576883

View File

@@ -85,7 +85,7 @@ template <typename Helper> bool RunValidationPlans(uint8_t funcId, struct CCcont
case 'C': // spend coins or tokens
// vin validation plan:
vinPlan.pushValidators<CValidatorBase>((CInputIdentifierBase*)&normalInputIdentifier, &nullValidator); // txfee vin
vinPlan.pushValidators<CValidatorBase>((CInputIdentifierBase*)&ccInputIdentifier, &markerValidator/*, &cc1of2ValidatorThis*/); // cc1of2 funding addr
vinPlan.pushValidators<CValidatorBase>((CInputIdentifierBase*)&ccInputIdentifier, &markerValidator, &cc1of2ValidatorThis); // cc1of2 funding addr
// vout validation plan:
voutPlan.pushValidators<CValidatorBase>(0, &heirSpendValidator); // check if heir is allowed to spend