Browse Source

fix default value of is mine

release/v0.1
jl777 8 years ago
parent
commit
36a31f0e0a
  1. 2
      iguana/iguana_realtime.c

2
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 )

Loading…
Cancel
Save