|
|
@ -1018,7 +1018,7 @@ int64_t iguana_addressreceived(struct supernet_info *myinfo,struct iguana_info * |
|
|
|
jaddibits256(txids,jbits256(item,"txid")); |
|
|
|
if ( vouts != 0 ) |
|
|
|
jaddinum(vouts,jint(item,"vout")); |
|
|
|
if ( unspents != 0 && jobj(item,"unspent") != 0 && jobj(item,"spent") == 0 && jobj(item,"dest") == 0 ) |
|
|
|
if ( unspents != 0 && jobj(item,"spent") == 0 && jobj(item,"dest") == 0 ) |
|
|
|
jaddi(unspents,jduplicate(item)); |
|
|
|
if ( spends != 0 && (jobj(item,"spent") != 0 || jobj(item,"dest") != 0) ) |
|
|
|
jaddi(spends,jduplicate(item)); |
|
|
|