From 36a31f0e0a25893a057d36ba7a2e07b99ff5142c Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 5 Sep 2016 01:56:04 -0300 Subject: [PATCH] fix default value of is mine --- iguana/iguana_realtime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_realtime.c b/iguana/iguana_realtime.c index 876ef26cc..284db8b77 100755 --- a/iguana/iguana_realtime.c +++ b/iguana/iguana_realtime.c @@ -833,7 +833,7 @@ int64_t iguana_txidamount(struct supernet_info *myinfo,struct iguana_info *coin, char *iguana_txidcategory(struct supernet_info *myinfo,struct iguana_info *coin,char *account,char *coinaddr,bits256 txid,int32_t vout) { - struct iguana_waccount *wacct; struct iguana_waddress *waddr; int32_t ismine=1,spendlen,height = 0; uint64_t value; uint8_t spendscript[IGUANA_MAXSCRIPTSIZE]; + struct iguana_waccount *wacct; struct iguana_waddress *waddr; int32_t ismine=0,spendlen,height = 0; uint64_t value; uint8_t spendscript[IGUANA_MAXSCRIPTSIZE]; iguana_RTunspentindfind(myinfo,coin,coinaddr,spendscript,&spendlen,&value,&height,txid,vout,(coin->firstRTheight/coin->chain->bundlesize) - 1,0); account[0] = 0; if ( coinaddr[0] != 0 )