Browse Source

corr macro calc revshare fee

pull/27/head
dimxy 5 years ago
parent
commit
2fe4bbf7f6
  1. 2
      src/cc/CCPrices.h

2
src/cc/CCPrices.h

@ -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);

Loading…
Cancel
Save