removed 1of2 validator for test marker spending

This commit is contained in:
dimxy
2019-01-22 21:07:44 +05:00
parent 8a15610e44
commit 61f1d8771d

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