diff --git a/src/cc/CCtx.cpp b/src/cc/CCtx.cpp index 005a06380..5a650a8c9 100644 --- a/src/cc/CCtx.cpp +++ b/src/cc/CCtx.cpp @@ -614,7 +614,7 @@ int64_t AddNormalinputs(CMutableTransaction &mtx,CPubKey mypk,int64_t total,int3 return(0); } -int64_t AddNormalinputs2(CMutableTransaction &mtx,int64_t total,int32_t maxinputs) +int64_t AddNormalinputs2(CMutableTransaction &mtx,int64_t total,int32_t maxinputs,struct NSPV_CCmtxinfo *ptr) { 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 > unspentOutputs;