|
|
@ -619,9 +619,7 @@ int64_t AddNormalinputs2(CMutableTransaction &mtx,int64_t total,int32_t maxinput |
|
|
|
int32_t abovei,belowi,ind,vout,i,n = 0; int64_t sum,threshold,above,below; int64_t remains,nValue,totalinputs = 0; char coinaddr[64]; uint256 txid,hashBlock; CTransaction tx; struct CC_utxo *utxos,*up; |
|
|
|
std::vector<std::pair<CAddressUnspentKey, CAddressUnspentValue> > unspentOutputs; |
|
|
|
if ( KOMODO_NSPV != 0 ) |
|
|
|
{ |
|
|
|
//return(NSPV_addinputs(struct NSPV_utxoresp *used,CMutableTransaction &mtx,int64_t total,int32_t maxinputs,struct NSPV_utxoresp *ptr,int32_t num));
|
|
|
|
} |
|
|
|
return(NSPV_AddNormalinputs(mtx,mypk,total,maxinputs,ptr)); |
|
|
|
utxos = (struct CC_utxo *)calloc(CC_MAXVINS,sizeof(*utxos)); |
|
|
|
if ( maxinputs > CC_MAXVINS ) |
|
|
|
maxinputs = CC_MAXVINS; |
|
|
|