From dec70056c40ee513bc08d4dc2664ed70a91e47a4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 18 Aug 2016 00:59:21 -0300 Subject: [PATCH] test --- iguana/iguana_realtime.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 849980a1f..746bb1a38 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -507,6 +507,8 @@ void iguana_RTunmap(uint8_t *ptr,uint32_t len) void *iguana_RTrawdata(struct iguana_info *coin,bits256 hash2,uint8_t *data,int32_t *recvlenp,int32_t *numtxp) { FILE *fp; char fname[1024],str[65]; long filesize; uint8_t *ptr; uint32_t i,nonz,checknumtx,checklen; + if ( coin->RTheight == 0 ) + return(0); sprintf(fname,"%s/%s/RT/%s.raw",GLOBAL_TMPDIR,coin->symbol,bits256_str(str,hash2)); OS_compatible_path(fname); if ( *recvlenp > 0 )