|
|
@ -806,8 +806,11 @@ char *basilisk_bitcoinrawtx(struct supernet_info *myinfo,struct iguana_info *coi |
|
|
|
if ( txfee == 0 ) |
|
|
|
{ |
|
|
|
txfee = iguana_esttxfee(myinfo,coin,rawtx,0,vins != 0 ? cJSON_GetArraySize(vins): 0); |
|
|
|
free(rawtx); |
|
|
|
if ( vins != 0 ) |
|
|
|
free_json(vins), vins = 0; |
|
|
|
rawtx = iguana_calcrawtx(myinfo,coin,&vins,txobj,amount,changeaddr,txfee,addresses,minconf,oplen!=0?buf:0,oplen+offset,burnamount,remoteaddr,V,0); |
|
|
|
printf("new txfee %.8f\n",dstr(txfee)); |
|
|
|
printf("new txfee %.8f (%s)\n",dstr(txfee),rawtx); |
|
|
|
} |
|
|
|
//printf("generated.(%s) vins.(%s)\n",rawtx!=0?rawtx:"",vins!=0?jprint(vins,0):"");
|
|
|
|
} |
|
|
|