]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Sun, 8 Apr 2018 11:04:11 +0000 (14:04 +0300)
committerjl777 <[email protected]>
Sun, 8 Apr 2018 11:04:11 +0000 (14:04 +0300)
src/komodo_events.h

index 897f3b7bd318cc2731dd2da9134242f49897ac75..9b44cdd3ec97b903d45d302f10f93ef31d7d0b2a 100644 (file)
@@ -40,12 +40,12 @@ struct komodo_event *komodo_eventadd(struct komodo_state *sp,int32_t height,char
 void komodo_eventadd_notarized(struct komodo_state *sp,char *symbol,int32_t height,char *dest,uint256 notarized_hash,uint256 notarized_desttxid,int32_t notarizedheight,uint256 MoM,int32_t MoMdepth)
 {
     struct komodo_event_notarized N;
-    /*if ( komodo_verifynotarization(symbol,dest,height,notarizedheight,notarized_hash,notarized_desttxid) != 0 )
+    if ( NOTARY_PUBKEY33[0] == 0 || komodo_verifynotarization(symbol,dest,height,notarizedheight,notarized_hash,notarized_desttxid) != 0 )
     {
         if ( height > 50000 || ASSETCHAINS_SYMBOL[0] != 0 )
             printf("[%s] error validating notarization ht.%d notarized_height.%d, if on a pruned %s node this can be ignored\n",ASSETCHAINS_SYMBOL,height,notarizedheight,dest);
     }
-    else*/
+    else
     {
         if ( 0 && ASSETCHAINS_SYMBOL[0] != 0 )
             fprintf(stderr,"validated [%s] ht.%d notarized %d\n",ASSETCHAINS_SYMBOL,height,notarizedheight);
This page took 0.026165 seconds and 4 git commands to generate.