corr macro calc revshare fee

This commit is contained in:
dimxy
2019-05-12 15:42:46 +05:00
parent 7303f125ca
commit 2fe4bbf7f6

View File

@@ -41,7 +41,7 @@ extern CScript KOMODO_EARLYTXID_SCRIPTPUB;
#define PRICES_NORMFACTOR (int64_t)(SATOSHIDEN)
#define PRICES_POINTFACTOR (int64_t)10000
#define PRICES_SUBREVSHAREFEE(amount) ((amount) / 199 * 200)
#define PRICES_SUBREVSHAREFEE(amount) ((amount) * 199 / 200)
bool PricesValidate(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx, uint32_t nIn);