Fix
This commit is contained in:
@@ -14,7 +14,6 @@
|
|||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#include "CCassets.h"
|
#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)
|
int64_t AddAssetInputs(struct CCcontract_info *cp,CMutableTransaction &mtx,CPubKey pk,uint256 assetid,int64_t total,int32_t maxinputs)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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 int32_t KOMODO_CONNECTING,KOMODO_CCACTIVATE;
|
||||||
extern uint32_t ASSETCHAINS_CC;
|
extern uint32_t ASSETCHAINS_CC;
|
||||||
|
extern std::string CCerror;
|
||||||
|
|
||||||
#define SMALLVAL 0.000000000000001
|
#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; };
|
union _bits256 { uint8_t bytes[32]; uint16_t ushorts[16]; uint32_t uints[8]; uint64_t ulongs[4]; uint64_t txid; };
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
|
|
||||||
#include "CCdice.h"
|
#include "CCdice.h"
|
||||||
|
|
||||||
extern std::string CCerror;
|
|
||||||
|
|
||||||
// timeout
|
// timeout
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -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)
|
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;
|
int32_t numblocks; uint64_t duration,reward = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user