diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index 74ef9fb58..45b9d7d6e 100644 --- a/src/cc/CCassetstx.cpp +++ b/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) { diff --git a/src/cc/CCinclude.h b/src/cc/CCinclude.h index 673b30f8e..bdb95ed82 100644 --- a/src/cc/CCinclude.h +++ b/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; }; diff --git a/src/cc/dice.cpp b/src/cc/dice.cpp index 6f1282035..da9bdbe5f 100644 --- a/src/cc/dice.cpp +++ b/src/cc/dice.cpp @@ -15,8 +15,6 @@ #include "CCdice.h" -extern std::string CCerror; - // timeout /* diff --git a/src/cc/rewards.cpp b/src/cc/rewards.cpp index 33c5f01d4..9a63e2187 100644 --- a/src/cc/rewards.cpp +++ b/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;