|
|
@ -1016,7 +1016,10 @@ struct basilisk_spend *basilisk_addspend(struct supernet_info *myinfo,char *symb |
|
|
|
for (i=0; i<myinfo->numspends; i++) |
|
|
|
{ |
|
|
|
if ( myinfo->spends[i].vout == vout && bits256_cmp(txid,myinfo->spends[i].txid) == 0 ) |
|
|
|
{ |
|
|
|
char str[65]; printf("found spend.%s v%d skip it\n",bits256_str(Str,txid),vout); |
|
|
|
return(&myinfo->spends[i]); |
|
|
|
} |
|
|
|
} |
|
|
|
if ( addflag != 0 && i == myinfo->numspends ) |
|
|
|
{ |
|
|
|