Browse Source

Fix

pull/4/head
jl777 6 years ago
parent
commit
58a6817159
  1. 1
      src/cc/CCassetstx.cpp
  2. 1
      src/cc/CCinclude.h
  3. 2
      src/cc/dice.cpp
  4. 2
      src/cc/rewards.cpp

1
src/cc/CCassetstx.cpp

@ -14,7 +14,6 @@
******************************************************************************/
#include "CCassets.h"
extern std::string CCerror;
int64_t AddAssetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPubKey pk,uint256 assetid,int64_t total,int32_t maxinputs)
{

1
src/cc/CCinclude.h

@ -50,6 +50,7 @@ one other technical note is that komodod has the insight-explorer extensions bui
extern int32_t KOMODO_CONNECTING,KOMODO_CCACTIVATE;
extern uint32_t ASSETCHAINS_CC;
extern std::string CCerror;
#define SMALLVAL 0.000000000000001
union _bits256 { uint8_t bytes[32]; uint16_t ushorts[16]; uint32_t uints[8]; uint64_t ulongs[4]; uint64_t txid; };

2
src/cc/dice.cpp

@ -15,8 +15,6 @@
#include "CCdice.h"
extern std::string CCerror;
// timeout
/*

2
src/cc/rewards.cpp

@ -66,8 +66,6 @@
*/
extern std::string CCerror;
int64_t RewardsCalc(int64_t amount,uint256 txid,uint64_t APR,uint64_t minseconds,uint64_t maxseconds,uint64_t mindeposit)
{
int32_t numblocks; uint64_t duration,reward = 0;

Loading…
Cancel
Save