From 0eb6887cd78a4c072c6cc817666e5cdfe6dda9e8 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Sat, 23 Jan 2021 20:45:35 -0500 Subject: [PATCH] Do not create _7776 files --- src/hush_utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hush_utils.h b/src/hush_utils.h index 6776c300b..ad444538f 100644 --- a/src/hush_utils.h +++ b/src/hush_utils.h @@ -2371,6 +2371,7 @@ void hush_args(char *argv0) sprintf(&magicstr[i<<1],"%02x",magic[i]); magicstr[8] = 0; #ifndef FROM_CLI + /* sprintf(fname,"%s_7776",SMART_CHAIN_SYMBOL); // TODO: why are we doing this again? Most users do not need this if ( (fp= fopen(fname,"wb")) != 0 ) @@ -2382,6 +2383,7 @@ void hush_args(char *argv0) fclose(fp); //printf("created (%s)\n",fname); } else printf("error creating (%s)\n",fname); + */ #endif if ( ASSETCHAINS_CC < 2 ) { @@ -2389,9 +2391,7 @@ void hush_args(char *argv0) { ASSETCHAINS_CC = 2; fprintf(stderr,"smart utxo CC contracts will activate at height.%d\n",KOMODO_CCACTIVATE); - } - else if ( ccEnablesHeight[0] != 0 ) - { + } else if ( ccEnablesHeight[0] != 0 ) { ASSETCHAINS_CC = 2; fprintf(stderr,"smart utxo CC contract %d will activate at height.%d\n",(int32_t)ccEnablesHeight[0],(int32_t)ccEnablesHeight[1]); }