diff --git a/iguana/dpow/dpow_fsm.c b/iguana/dpow/dpow_fsm.c index 027f75ee9..9887c7b2d 100755 --- a/iguana/dpow/dpow_fsm.c +++ b/iguana/dpow/dpow_fsm.c @@ -143,7 +143,7 @@ int32_t dpow_checkutxo(struct supernet_info *myinfo,struct dpow_info *dp,struct { addresses = cJSON_CreateArray(); jaddistr(addresses,coinaddr); - if ( (rawtx= iguana_utxoduplicates(myinfo,coin,dp->minerkey33,DPOW_UTXOSIZE,n,&completed,&signedtxid,0,addresses)) != 0 ) + if ( myinfo->nosplit == 0 && (rawtx= iguana_utxoduplicates(myinfo,coin,dp->minerkey33,DPOW_UTXOSIZE,n,&completed,&signedtxid,0,addresses)) != 0 ) { if ( (sendtx= dpow_sendrawtransaction(myinfo,coin,rawtx)) != 0 ) { diff --git a/iguana/iguana777.h b/iguana/iguana777.h index bc4a45d60..d1e90d5db 100755 --- a/iguana/iguana777.h +++ b/iguana/iguana777.h @@ -193,6 +193,7 @@ struct supernet_info FILE *swapsfp; double DEXratio; struct smartaddress smartaddrs[64]; int32_t numsmartaddrs,cancelrefresh,runsilent,DEXtrades; + int32_t nosplit; }; struct basilisk_swapmessage diff --git a/iguana/main.c b/iguana/main.c index 0f18c35b1..571f45549 100755 --- a/iguana/main.c +++ b/iguana/main.c @@ -2212,8 +2212,10 @@ void iguana_main(void *arg) myinfo->rpcport = atoi(&((char *)arg)[6]); printf("OVERRIDE IGUANA port <- %u\n",myinfo->rpcport); } - else if ( strcmp((char *)arg,"notary") == 0 ) // must be second to last + else if ( strncmp((char *)arg,"notary",strlen("notary")) == 0 ) // must be second to last { + if ( strcmp((char *)arg,"notary_nosplit") == 0 ) + myinfo->nosplit = 1; myinfo->rpcport = IGUANA_NOTARYPORT; myinfo->IAMNOTARY = 1; myinfo->DEXEXPLORER = 0;//1; disable as SPV is used now