From b6c1a2c30b4e3d23a0d2b46cb136f6b976f1ba20 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 11 Apr 2018 22:07:40 +0300 Subject: [PATCH] Test --- src/komodo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo.h b/src/komodo.h index 55eaddaf0..5cc987695 100644 --- a/src/komodo.h +++ b/src/komodo.h @@ -585,7 +585,7 @@ int32_t komodo_voutupdate(int32_t *isratificationp,int32_t notaryid,uint8_t *scr strncpy(ccdata.symbol,(char *)&scriptbuf[len+offset],sizeof(ccdata.symbol)); if ( matched == 0 && bitweight(signedmask) >= KOMODO_MINRATIFY ) notarized = 1; - if ( strcmp("PIZZA",(char *)&scriptbuf[len+offset]) == 0 && opretlen >= 110 ) + if ( strcmp("PIZZA",ccdata.symbol) == 0 ) notarized = 1; if ( opretlen != 149 ) printf("[%s].%d (%s) matched.%d i.%d j.%d notarized.%d %llx opretlen.%d (%c %c %c)\n",ASSETCHAINS_SYMBOL,height,ccdata.symbol,matched,i,j,notarized,(long long)signedmask,opretlen,scriptbuf[len+offset],scriptbuf[len+offset+1],scriptbuf[len+offset+2]);