|
@ -270,6 +270,7 @@ int sort_balance(void *a,void *b) |
|
|
*/ |
|
|
*/ |
|
|
aval = ((struct LP_address *)a)->balance * SATOSHIDEN; |
|
|
aval = ((struct LP_address *)a)->balance * SATOSHIDEN; |
|
|
bval = ((struct LP_address *)b)->balance * SATOSHIDEN; |
|
|
bval = ((struct LP_address *)b)->balance * SATOSHIDEN; |
|
|
|
|
|
printf("%.8f vs %.8f -> %d\n",dstr(aval),dstr(bval),(int32_t)(bval - aval)); |
|
|
return((int32_t)(bval - aval)); |
|
|
return((int32_t)(bval - aval)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|