|
|
@ -456,7 +456,7 @@ int32_t LP_nearest_utxovalue(struct iguana_info *coin,struct LP_address_utxo **u |
|
|
|
{ |
|
|
|
dist = (up->U.value - targetval); |
|
|
|
printf("nearest i.%d target %.8f val %.8f dist %.8f mindist %.8f mini.%d spent.%d\n",i,dstr(targetval),dstr(up->U.value),dstr(dist),dstr(mindist),mini,up->spendheight); |
|
|
|
if (up->spendheight == 0 ) |
|
|
|
if ( up->spendheight <= 0 ) |
|
|
|
{ |
|
|
|
if ( coin->electrum != 0 ) |
|
|
|
{ |
|
|
|