From 20be996e6927cc13b3af1b515cad75a648d9cea4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Sep 2016 04:33:37 -0300 Subject: [PATCH] fix spurious unmappable file error --- iguana/iguana_realtime.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 284db8b77..3c6974354 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -928,6 +928,11 @@ void *iguana_RTrawdata(struct iguana_info *coin,bits256 hash2,uint8_t *data,int3 return(&ptr[sizeof(*recvlenp) + sizeof(checknumtx)]); } else printf("checklen.%d vs %d, checknumtx %d vs %d\n",checklen,(int32_t)(filesize - sizeof(checklen) - sizeof(checknumtx)),checknumtx,*numtxp); } + else + { + OS_removefile(fname,0); + printf("(%s) removed to suppress errors\n",fname); + } } } return(0);