diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index 49e668526..efdf30299 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -218,8 +218,9 @@ std::string CreateSell(uint64_t txfee,uint64_t askamount,uint256 assetid,uint256 opret = EncodeAssetOpRet('s',assetid,zeroid,pricetotal,Mypubkey()); else opret = EncodeAssetOpRet('e',assetid,assetid2,pricetotal,Mypubkey()); return(FinalizeCCTx(cp,mtx,mypk,txfee,opret)); - } + } else fprintf(stderr,"need some assets to place ask\n"); } + fprintf(stderr,"need some native coins to place ask\n"); return(0); } diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index 1dbe5b591..8093f57b4 100644 --- a/src/cc/rewards.cpp +++ b/src/cc/rewards.cpp @@ -40,7 +40,7 @@ uint64_t RewardsCalc(uint64_t claim,uint256 txid,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit) { uint64_t reward = 0; - // get start time, get current time + // get txtime2, get pblock->nTime // if elapsed < mintime -> return 0 // if elapsed > maxtime, elapsed = maxtime // calc reward