@ -594,7 +594,6 @@ char *iguana_utxoduplicates(struct supernet_info *myinfo,struct iguana_info *coi
uint32_t txversion = 1; // txversion = 1 for non-overwintered and non-sapling coins
if (coin->sapling != 0)
txversion = 4;
if ( (txobj= bitcoin_txcreate(coin->symbol,coin->chain->isPoS,0,txversion,0)) != 0 )
{
if ( duplicates <= 0 )
@ -1136,7 +1136,7 @@ struct iguana_info *iguana_setcoin(char *symbol,void *launched,int32_t maxpeers,
if ( jobj(json,"cache") != 0 )
coin->enableCACHE = juint(json,"cache");
coin->sapling = 0;
coin->sapling = (strcmp("KMD",coin->symbol) == 0);
if (jobj(json, "sapling") != 0)
coin->sapling = juint(json, "sapling");