From 5697258b95fffc07ef253f728e33e484000352e6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 16 Jan 2017 14:28:09 +0200 Subject: [PATCH] test --- src/komodo_bitcoind.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 1a8dd56a4..2af89b864 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -370,8 +370,10 @@ int32_t komodo_verifynotarization(char *symbol,char *dest,int32_t height,int32_t for (i=0; i<32; i++) sprintf(¶ms[i*2 + 2],"%02x",((uint8_t *)&NOTARIZED_DESTTXID)[31-i]); strcat(params,"\", 1]");*/ + if ( strcmp(ASSETCHAINS_SYMBOL,symbol) != 0 ) + return(0); sprintf(params,"[\"%s\", 1]",NOTARIZED_DESTTXID.ToString().c_str()); - printf("src.%s dest.%s params.[%s] ht.%d notarized.%d\n",symbol,dest,params,height,NOTARIZED_HEIGHT); + printf("[%s] src.%s dest.%s params.[%s] ht.%d notarized.%d\n",ASSETCHAINS_SYMBOL,symbol,dest,params,height,NOTARIZED_HEIGHT); if ( strcmp(dest,"KMD") == 0 ) { if ( KMDUSERPASS[0] != 0 )