From af0c794725dbcaf0b0ff955789df2f56a7535b07 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 6 Aug 2016 13:54:23 -0300 Subject: [PATCH] test --- iguana/iguana_realtime.c | 1 + iguana/tests/listunspent | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 6830dc3ab..84c9ae34f 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -305,6 +305,7 @@ int32_t iguana_realtime_update(struct supernet_info *myinfo,struct iguana_info * else { printf("cant find bundleblock [%d:%d]\n",bp->hdrsi,bundlei); + coin->RTdatabad = 1; } if ( coin->RTdatabad == 0 && block != 0 && (block->height == 0 || bits256_nonz(block->RO.prev_block) != 0) ) { diff --git a/iguana/tests/listunspent b/iguana/tests/listunspent index c2af7cd91..67c36bdba 100755 --- a/iguana/tests/listunspent +++ b/iguana/tests/listunspent @@ -1 +1 @@ -curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"method\":\"listunspent\",\"params\":[1, 9999999, []]}" +curl --url "http://127.0.0.1:7778" --data "{\"coin\":\"BTC\",\"method\":\"listunspent\",\"params\":[1, 9999999, [\"REzqSJ7qonDbMVWfPEJKfRPduvfPyumkPR\"]]}"