@@ -43,10 +43,6 @@ static unsigned char *mem;
43
43
static mmapf_ctx bloom_mmapf ;
44
44
static unsigned char * bloom = NULL ;
45
45
46
- static unsigned char hexed0 [41 ];
47
- static unsigned char hexed1 [41 ];
48
- static unsigned char hexed2 [65 ];
49
-
50
46
static unsigned char * unhexed = NULL ;
51
47
static size_t unhexed_sz = 4096 ;
52
48
@@ -241,6 +237,8 @@ inline static void fprintresult(FILE *f, hash160_t *hash,
241
237
unsigned char compressed ,
242
238
unsigned char * type ,
243
239
unsigned char * input ) {
240
+ unsigned char hexed0 [41 ];
241
+
244
242
fprintf (f , "%s:%c:%s:%s\n" ,
245
243
hex (hash -> uc , 20 , hexed0 , sizeof (hexed0 )),
246
244
compressed ,
@@ -254,6 +252,8 @@ inline static void fprintlookup(FILE *f,
254
252
unsigned char * priv ,
255
253
unsigned char * type ,
256
254
unsigned char * input ) {
255
+ unsigned char hexed0 [41 ], hexed1 [41 ], hexed2 [65 ];
256
+
257
257
fprintf (f , "%s:%s:%s:%s:%s\n" ,
258
258
hex (hashu -> uc , 20 , hexed0 , sizeof (hexed0 )),
259
259
hex (hashc -> uc , 20 , hexed1 , sizeof (hexed1 )),
0 commit comments