Browse Source

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

pull/4/head
dimxy 5 years ago
parent
commit
6481576883
  1. 2
      src/cc/heir.cpp

2
src/cc/heir.cpp

@ -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

Loading…
Cancel
Save