From 7a9109577a14ccab9e73c1ba65df2172172cfc3b Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 30 Mar 2016 12:47:09 -0300 Subject: [PATCH] test --- iguana/iguana_bundles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_bundles.c b/iguana/iguana_bundles.c index fe850b5a2..0faefc6b5 100755 --- a/iguana/iguana_bundles.c +++ b/iguana/iguana_bundles.c @@ -479,7 +479,7 @@ int32_t iguana_blocksmissing(struct iguana_info *coin,int32_t *nonzp,uint8_t mis int32_t iguana_sendhashes(struct iguana_info *coin,struct iguana_peer *addr,int32_t msgtype,bits256 hashes[],int32_t n) { int32_t len; uint8_t *serialized; - if ( (rand() % 10) == 0 || strcmp("BTC",coin->symbol) != 0 ) + if ( (rand() % 100) == 0 || strcmp("BTC",coin->symbol) != 0 ) { serialized = malloc((sizeof(int32_t) + sizeof(*hashes))*n + 1024); if ( (len= iguana_getdata(coin,serialized,MSG_BLOCK,hashes,n)) > 0 )