|
@ -585,7 +585,7 @@ char *iguana_utxoduplicates(struct supernet_info *myinfo,struct iguana_info *coi |
|
|
if ( signedtxidp != 0 ) |
|
|
if ( signedtxidp != 0 ) |
|
|
memset(signedtxidp,0,sizeof(*signedtxidp)); |
|
|
memset(signedtxidp,0,sizeof(*signedtxidp)); |
|
|
bitcoin_address(changeaddr,coin->chain->pubtype,myinfo->persistent_pubkey33,33); |
|
|
bitcoin_address(changeaddr,coin->chain->pubtype,myinfo->persistent_pubkey33,33); |
|
|
txfee = 10 * (coin->txfee + duplicates*coin->txfee*2); |
|
|
txfee = (coin->txfee + duplicates*coin->txfee*2); |
|
|
if ( (txobj= bitcoin_txcreate(coin->symbol,coin->chain->isPoS,0,1,0)) != 0 ) |
|
|
if ( (txobj= bitcoin_txcreate(coin->symbol,coin->chain->isPoS,0,1,0)) != 0 ) |
|
|
{ |
|
|
{ |
|
|
if ( duplicates <= 0 ) |
|
|
if ( duplicates <= 0 ) |
|
|