|
@ -462,6 +462,8 @@ char *iguana_calcrawtx(struct supernet_info *myinfo,struct iguana_info *coin,cJS |
|
|
printf("no spendscriptstr %d.(%s)\n",i,jprint(array,0)); |
|
|
printf("no spendscriptstr %d.(%s)\n",i,jprint(array,0)); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
|
|
|
if ( strlen(spendscriptstr) != 50 || strncmp("76a914",spendscriptstr,6) != 0 || strcmp("88ac",&spendscriptstr[50-4]) != 0 ) |
|
|
|
|
|
continue; |
|
|
unspents = realloc(unspents,(1 + max) * sizeof(*unspents)); |
|
|
unspents = realloc(unspents,(1 + max) * sizeof(*unspents)); |
|
|
value = jdouble(item,"amount") * SATOSHIDEN; |
|
|
value = jdouble(item,"amount") * SATOSHIDEN; |
|
|
if ( (0) && jdouble(item,"interest") != 0 ) |
|
|
if ( (0) && jdouble(item,"interest") != 0 ) |
|
|