|
@ -70,7 +70,7 @@ int32_t _LP_inuse_delete(bits256 txid,int32_t vout) |
|
|
*lp = LP_inuse[--LP_numinuse]; |
|
|
*lp = LP_inuse[--LP_numinuse]; |
|
|
lp->ind = ind; |
|
|
lp->ind = ind; |
|
|
memset(&LP_inuse[LP_numinuse],0,sizeof(struct LP_inuse_info)); |
|
|
memset(&LP_inuse[LP_numinuse],0,sizeof(struct LP_inuse_info)); |
|
|
//printf("_LP_inuse_delete mark as free %s/v%d find.%p\n",bits256_str(str,txid),vout,_LP_inuse_find(txid,vout));
|
|
|
printf("_LP_inuse_delete mark as free %s/v%d find.%p\n",bits256_str(str,txid),vout,_LP_inuse_find(txid,vout)); |
|
|
for (ind=0; ind<LP_numinuse; ind++) |
|
|
for (ind=0; ind<LP_numinuse; ind++) |
|
|
if ( LP_inuse[ind].ind != ind ) |
|
|
if ( LP_inuse[ind].ind != ind ) |
|
|
printf("ind.%d of %d: mismatched ind.%d\n",ind,LP_numinuse,LP_inuse[ind].ind); |
|
|
printf("ind.%d of %d: mismatched ind.%d\n",ind,LP_numinuse,LP_inuse[ind].ind); |
|
|