From 0545c2cd9555d1c86b69b81cf6289ff9f07869fc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 18 Aug 2018 01:42:35 -1100 Subject: [PATCH] Next layer --- src/cryptoconditions/src/cryptoconditions.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cryptoconditions/src/cryptoconditions.c b/src/cryptoconditions/src/cryptoconditions.c index 0ee535e2d..9ccb987fb 100644 --- a/src/cryptoconditions/src/cryptoconditions.c +++ b/src/cryptoconditions/src/cryptoconditions.c @@ -153,12 +153,15 @@ void asnCondition(const CC *cond, Condition_t *asn) { // This may look a little weird - we dont have a reference here to the correct // union choice for the condition type, so we just assign everything to the threshold // type. This works out nicely since the union choices have the same binary interface. - + fprintf(stderr,"asnCondition type.%p\n",asn->type); CompoundSha256Condition_t *choice = &asn->choice.thresholdSha256; choice->cost = cc_getCost(cond); + fprintf(stderr,"after cost\n"); choice->fingerprint.buf = cond->type->fingerprint(cond); choice->fingerprint.size = 32; + fprintf(stderr,"after fingerprint\n"); choice->subtypes = asnSubtypes(cond->type->getSubtypes(cond)); + fprintf(stderr,"after asnSubtypes\n"); }