integration test for basic aux condition
This commit is contained in:
Submodule src/cryptoconditions updated: e33203ae34...0dcac79cf9
@@ -4,5 +4,10 @@
|
||||
|
||||
|
||||
int CryptoConditionChecker::CheckAuxCondition(const CC *cond) const {
|
||||
return true;
|
||||
if (0 == strcmp((const char*)cond->method, "equals")) {
|
||||
return (cond->conditionAuxLength == cond->fulfillmentAuxLength) &&
|
||||
(0 == memcmp(cond->conditionAux, cond->fulfillmentAux, cond->conditionAuxLength));
|
||||
}
|
||||
printf("no defined behaviour for method:%s\n", cond->method);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user